LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   ipw2200 failes to compile at create_workqueue (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ipw2200-failes-to-compile-at-create_workqueue-360488/)

Avenger 09-05-2005 02:39 PM

ipw2200 failes to compile at create_workqueue
 
Hi,

I was using the 2.6.12.5 kernel with the ipw2200 module without any problems.
I was having some problems with hibernation etc, and descided to upgrade to 2.6.13 and apply the software suspend 2 patch in hopes of getting it to work.

Now when I try to install the ipw2200 module again, it fails with this message:

Code:

mkdir -p /tmp/ipw2200-1.0.6/tmp/.tmp_versions
cp /lib/modules/2.6.13/net/ieee80211/.tmp_versions/*.mod /tmp/ipw2200-1.0.6/tmp/.tmp_versions
make -C /lib/modules/2.6.13/build M=/tmp/ipw2200-1.0.6 MODVERDIR=/tmp/ipw2200-1.0.6/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.13'
  CC [M]  /tmp/ipw2200-1.0.6/ipw2200.o
/tmp/ipw2200-1.0.6/ipw2200.c:10150:55: macro "create_workqueue" passed 2 arguments, but takes just 1
/tmp/ipw2200-1.0.6/ipw2200.c: In function `ipw_setup_deferred_work':
/tmp/ipw2200-1.0.6/ipw2200.c:10150: error: `create_workqueue' undeclared (first use in this function)
/tmp/ipw2200-1.0.6/ipw2200.c:10150: error: (Each undeclared identifier is reported only once
/tmp/ipw2200-1.0.6/ipw2200.c:10150: error: for each function it appears in.)
make[2]: *** [/tmp/ipw2200-1.0.6/ipw2200.o] Error 1
make[1]: *** [_module_/tmp/ipw2200-1.0.6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13'
make: *** [modules] Error 2

I tried to open up the ipw2200.c and change

Code:

priv->workqueue = create_workqueue(DRV_NAME, 0);
to
Code:

priv->workqueue = create_workqueue(DRV_NAME);
This made the module compile, but it doesn't work correctly.
modprobe succeeds, and I get a eht1 device up, but when I try to use some of the wireless-functions like
'iwlist eth1 scan' I just get this response: 'eth1 Interface doesn't support scanning : Bad address'


All times are GMT -5. The time now is 09:06 AM.