Re: [ath5k-devel] [PATCH] ath5k: disable beacon interrupt when interface is down

2009-06-03 Thread John W. Linville
On Wed, Jun 03, 2009 at 08:22:51AM -0400, Bob Copeland wrote: > On Wed, Jun 03, 2009 at 09:09:04AM +0200, Johannes Berg wrote: > > On Tue, 2009-06-02 at 23:03 -0400, Bob Copeland wrote: > > > When we remove the active interface, there's no need to continue > > > sending beacons; doing so would caus

Re: [ath5k-devel] [PATCH] ath5k: disable beacon interrupt when interface is down

2009-06-03 Thread Bob Copeland
On Wed, Jun 03, 2009 at 09:09:04AM +0200, Johannes Berg wrote: > On Tue, 2009-06-02 at 23:03 -0400, Bob Copeland wrote: > > 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 int

Re: [ath5k-devel] [PATCH] ath5k: disable beacon interrupt when interface is down

2009-06-03 Thread Johannes Berg
On Tue, 2009-06-02 at 23:03 -0400, Bob Copeland wrote: > 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

[ath5k-devel] [PATCH] ath5k: disable beacon interrupt when interface is down

2009-06-02 Thread Bob Copeland
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 --- dri