From: Bob Copeland Date: Wed, 3 Jun 2009 03:03:06 +0000 (-0400) Subject: ath5k: disable beacon interrupt when interface is down X-Git-Tag: v2.6.31-rc1~330^2~157^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72828b1b3cabecfce4321877aa526a2bd21acf0c;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed