Bug 1673 - iwl3945 doesn't recover from rf_kill
: iwl3945 doesn't recover from rf_kill
Status: VERIFIED FIXED
: iwlwifi
RF-Kill
: unspecified
: __UNSPECIFIED__ Debian
: P1 normal
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-05-21 11:27 by
Modified: 2008-06-04 15:26 (History)


Attachments
Logfile of testcase (commands inserted) (49.94 KB, text/plain)
2008-05-21 11:27, Winfried Tilanus
Details
fix patch (955 bytes, patch)
2008-05-21 20:22, Zhu Yi
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-05-21 11:27:29
Created an attachment (id=1438) [details]
Logfile of testcase (commands inserted)

Activating the software rf_kill switch works, but re enabling it fails.

Testcase:

modprobe iwl3945 debug=0x43fff
ip link set wlan0 up
ip link set wlan0 down
echo -n 1 > /sys/class/net/wlan0/device/rf_kill
echo -n 0 > /sys/class/net/wlan0/device/rf_kill
ip link set wlan0 up
iwlist wlan0 scan
>    wlan0     Interface doesn't support scanning : Network is down

Note that without bringing the link up first, recovering from rf_kill works.
Sometimes the computer locks up hard when trying to recover from rf_kill. It
seems to me it is IRQ related. This bug might be related to bug #1622.

System information:
Lenevo Thinkpad x61s
Debian testing (Lenny)
Linux 2.6.24-1-686 #1 SMP
Compat-Wireless snapshot, May 20th 2008
iwl3945 1.2.26kd
------- Comment #1 From 2008-05-21 20:22:26 -------
Created an attachment (id=1441) [details]
fix patch

This patch should fix the problem.
------- Comment #2 From 2008-05-23 09:22:23 -------
Winfried, please test the patch in comment #1
------- Comment #3 From 2008-05-24 09:17:16 -------
Excuses for the delay, I tested it against compat-wireless of may the 24th, and
it works ok now. Thanks.