linux/drivers/net/wireless/ti/wl1251
Grazvydas Ignotas d5738b41e5 Revert "wl1251: enforce changed hw encryption support on monitor state change"
This reverts commit b90a1165a7.

That commit (or rather, hack) triggers a scary WARN in IBSS (ad-hoc) mode.
Steps to reproduce:
    ifconfig wlan0 down
    iwconfig wlan0 mode ad-hoc
    ifconfig wlan0 up
------------[ cut here ]------------
WARNING: CPU: 0 PID: 905 at kernel/workqueue.c:1400 __queue_work+0x21c/0x2f4()
Modules linked in: wl1251_sdio wl1251 mac80211 cfg80211
CPU: 0 PID: 905 Comm: ifconfig Not tainted 3.15.0-rc2#233
[<c0015f38>] (unwind_backtrace) from [<c0012938>]
[<c0012938>] (show_stack) from [<c05d4034>]
[<c05d4034>] (dump_stack) from [<c0043984>]
[<c0043984>] (warn_slowpath_common) from [<c00439c0>]
[<c00439c0>] (warn_slowpath_null) from [<c005b6c8>]
[<c005b6c8>] (__queue_work) from [<c005b820>]
[<c005b820>] (queue_work_on) from [<bf134ac0>]
[<bf134ac0>] (wl1251_op_config [wl1251])
[<bf099a70>] (ieee80211_hw_config [mac80211])
...
This happens because ieee80211_connection_loss() is not expected to be
called in IBSS mode (mac80211 ends up queuing uninitialized work
in that case).

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-05-13 15:55:56 -04:00
..
acx.c wl1251: disable retry and ACK policy for injected packets 2014-01-09 10:56:36 -05:00
acx.h wl1251: implement multicast address filtering (fwd) 2014-01-09 10:56:06 -05:00
boot.c wl1251: retry power save entry 2014-01-09 10:53:38 -05:00
boot.h
cmd.c Drivers:net:wireless:ti:wl1251: Fixed Sparse invalid assignment warning 2014-03-04 13:28:36 -05:00
cmd.h wl1251: split RX and TX data path initialisation 2014-01-09 10:53:39 -05:00
debugfs.c
debugfs.h
event.c wl1251: fix NULL pointer dereference 2014-01-09 10:56:38 -05:00
event.h wl1251: retry power save entry 2014-01-09 10:53:38 -05:00
init.c wl1251: implement multicast address filtering (fwd) 2014-01-09 10:56:06 -05:00
init.h
io.c
io.h
Kconfig Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
main.c Revert "wl1251: enforce changed hw encryption support on monitor state change" 2014-05-13 15:55:56 -04:00
Makefile
ps.c wl1251: don't use [delayed_]work_pending() 2012-12-28 13:40:15 -08:00
ps.h
reg.h
rx.c wl1251: use skb_trim to make skb shorter 2014-03-03 15:35:55 -05:00
rx.h
sdio.c wl1251: move power GPIO handling into the driver 2014-02-28 14:08:26 -05:00
spi.c wl1251: spi: add device tree support 2014-02-28 14:08:27 -05:00
spi.h
tx.c wl1251: disable retry and ACK policy for injected packets 2014-01-09 10:56:36 -05:00
tx.h
wl12xx_80211.h
wl1251.h wl1251: spi: add vio regulator support 2014-02-28 14:08:27 -05:00