linux_old1/drivers/net/wireless/rt2x00
Stanislaw Gruszka 761ce8c41e rt2x00: usb: fix reset resume
Patch fixes warnings like below happened on resume:

WARNING: at net/mac80211/driver-ops.h:12 check_sdata_in_driver+0x32/0x34()

Problem is that in __ieee80211_susped() we remove sdata (i.e wlan0
interface) and then during resume we call usb_unbind_interface() ->
ieee80211_unregister_hw() with sdata removed.

Patch fixes problem by adding .reset_resume calback, hence we do not
unbind usb device on resume. This callback can be the same as normal
.resume callback, sice we do all needed initalization during interface
start, which is performed on resume [ ieee80211_resume() ->
ieee80211_reconfig() -> rt2x00mac_start() -> rt2x00lib_start ].

Resolves:
https://bugzilla.kernel.org/show_bug.cgi?id=48041

Reported-by: David Herrmann <dh.herrmann@googlemail.com>
Reported-and-tested-by: Stephen Boyd <bebarino@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-10-24 13:18:07 -04:00
..
Kconfig rt2x00 : RT3290 chip support v4 2012-06-20 14:41:49 -04:00
Makefile rt2x00: Merge rt2x00ht.c contents in other files. 2011-04-19 15:39:56 -04:00
rt2x00.h rt2x00: Replace open coded interface checking with interface combinations. 2012-09-25 15:57:44 -04:00
rt2x00config.c mac80211: add time synchronisation with BSS for assoc 2012-07-12 12:10:46 +02:00
rt2x00crypto.c rt2x00: Don't use queue entry as parameter when creating TX descriptor. 2011-07-07 13:20:58 -04:00
rt2x00debug.c rt2x00: Add debugfs access for rfcsr register 2012-05-08 21:53:46 -04:00
rt2x00debug.h rt2x00: Add debugfs access for rfcsr register 2012-05-08 21:53:46 -04:00
rt2x00dev.c rt2x00: Replace open coded interface checking with interface combinations. 2012-09-25 15:57:44 -04:00
rt2x00dump.h
rt2x00firmware.c rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rt2x00leds.c rt2x00: increase led's name buffer length 2012-04-09 16:09:34 -04:00
rt2x00leds.h
rt2x00lib.h rt2x00: Use GFP_KERNEL for rx buffer allocation on USB devices 2012-04-23 15:35:29 -04:00
rt2x00link.c rt2x00:Add VCO recalibration 2012-02-27 14:05:44 -05:00
rt2x00mac.c rt2x00: Replace open coded interface checking with interface combinations. 2012-09-25 15:57:44 -04:00
rt2x00pci.c rt2x00 : RT3290 chip support v4 2012-06-20 14:41:49 -04:00
rt2x00pci.h rt2x00: Allow dynamic addition of PCI/USB IDs. 2011-04-19 15:39:45 -04:00
rt2x00queue.c mac80211: move TX station pointer and restructure TX 2012-07-31 16:18:39 +02:00
rt2x00queue.h rt2x00: remove unused argument 2012-07-11 15:38:27 -04:00
rt2x00reg.h
rt2x00soc.c
rt2x00soc.h
rt2x00usb.c rt2x00: remove unused argument 2012-07-11 15:38:27 -04:00
rt2x00usb.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-05 13:32:35 -04:00
rt61pci.c rt2x00: Deprecate max_sta_intf field of struct rt2x00_ops. 2012-09-25 15:57:43 -04:00
rt61pci.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt73usb.c rt2x00: usb: fix reset resume 2012-10-24 13:18:07 -04:00
rt73usb.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2400pci.c rt2x00: Deprecate max_sta_intf field of struct rt2x00_ops. 2012-09-25 15:57:43 -04:00
rt2400pci.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2500pci.c rt2x00: Deprecate max_sta_intf field of struct rt2x00_ops. 2012-09-25 15:57:43 -04:00
rt2500pci.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2500usb.c rt2x00: usb: fix reset resume 2012-10-24 13:18:07 -04:00
rt2500usb.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2800.h rt2x00: add MediaTek/RaLink Rt3352 WiSoC 2012-09-11 15:13:50 -04:00
rt2800lib.c rt2x00/rt3352: Fix lnagain assignment to use register 66. 2012-10-05 16:26:18 -04:00
rt2800lib.h rt2x00: rt2800 - Make probe_hw function common between PCI and USB. 2012-09-07 15:08:40 -04:00
rt2800pci.c rt2x00: Deprecate max_sta_intf field of struct rt2x00_ops. 2012-09-25 15:57:43 -04:00
rt2800pci.h rt2x00 : RT3290 chip support v4 2012-06-20 14:41:49 -04:00
rt2800usb.c rt2x00: usb: fix reset resume 2012-10-24 13:18:07 -04:00
rt2800usb.h