diff options
author | Bob Copeland <me@bobcopeland.com> | 2009-06-02 23:03:06 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-03 14:06:15 -0400 |
commit | 72828b1b3cabecfce4321877aa526a2bd21acf0c (patch) | |
tree | 2ac007b084ddf9e19ebe97ade778ac9148dac7a0 /net/rfkill/core.c | |
parent | 894df1cbc376310163d41c50c891db41296056bf (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