aboutsummaryrefslogtreecommitdiff
path: root/drivers/ide/ide-iops.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-24 19:28:49 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-17 15:13:51 -0800
commit04e0f5f7ed4fe711325d4d62b80f1f2031db9614 (patch)
tree6196f296db8f4705a36166fb64d19316a842fa4a /drivers/ide/ide-iops.c
parent4408bef5c1cd09328dc7944f8460b6ec6ba52564 (diff)
mac80211: fix a crash in ieee80211_beacon_get_tim on change_interface
commit eb3e554b4b3a56386ef5214dbe0e3935a350178b upstream. Some drivers (e.g. ath9k) do not always disable beacons when they're supposed to. When an interface is changed using the change_interface op, the mode specific sdata part is in an undefined state and trying to get a beacon at this point can produce weird crashes. To fix this, add a check for ieee80211_sdata_running before using anything from the sdata. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/ide/ide-iops.c')
0 files changed, 0 insertions, 0 deletions