commit | 72828b1b3cabecfce4321877aa526a2bd21acf0c | [log] [tgz] |
---|---|---|
author | Bob Copeland <me@bobcopeland.com> | Tue Jun 02 23:03:06 2009 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jun 03 14:06:15 2009 -0400 |
tree | 2ac007b084ddf9e19ebe97ade778ac9148dac7a0 | |
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>