summaryrefslogtreecommitdiffstats
path: root/drivers/ssb
diff options
context:
space:
mode:
authorPontus Fuchs <pontus.fuchs@gmail.com>2012-05-31 12:34:47 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-06-06 21:20:22 +0200
commit3b08cf6bd2763bfe9d04fad4d7de29ee7735cd76 (patch)
tree9a660a495c4fa119417be06d61677e1df05b7f02 /drivers/ssb
parentmac80211: Add missing mesh parameter dot11MeshForwarding for debugfs (diff)
downloadlinux-3b08cf6bd2763bfe9d04fad4d7de29ee7735cd76.tar.xz
linux-3b08cf6bd2763bfe9d04fad4d7de29ee7735cd76.zip
mac80211: Clear wowlan flag when drv_suspend returns failure
drv_resume can get called without a prior call to drv_suspend. Consider the following steps: 1. Suspend is started but driver's drv_suspend returns error. 2. Suspend is aborted. local->wowlan flag is left set. 3. Interface is removed. 4. Suspend again. This time open_count is 0 so drv_suspend is not called and local->wowlan not cleared. 5. On resume ieee80211_reconfig will call drv_resume since local->wowlan is set. Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions