summaryrefslogtreecommitdiff
path: root/net/rfkill/core.c
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2009-06-02 23:03:06 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-06-03 14:06:15 -0400
commit72828b1b3cabecfce4321877aa526a2bd21acf0c (patch)
tree2ac007b084ddf9e19ebe97ade778ac9148dac7a0 /net/rfkill/core.c
parent894df1cbc376310163d41c50c891db41296056bf (diff)
ath5k: disable beacon interrupt when interface is down
When we remove the active interface, there's no need to continue sending beacons; doing so would cause a null pointer deref in ieee80211_beacon_get(). Disable the interrupt in remove_interface and add a WARN_ON(!vif) in case there are other instances lurking. Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rfkill/core.c')
0 files changed, 0 insertions, 0 deletions