diff options
author | Bob Copeland <me@bobcopeland.com> | 2009-07-29 10:13:03 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 22:43:23 +0200 |
commit | 97af743207466ff8b477e14bfb7af0ba2c93375b (patch) | |
tree | 9fc275981b34346284c1aedd370c54854f5369ae /net/wireless/core.h | |
parent | rt2x00: Fix build error when crypto support is disabled (diff) | |
download | linux-97af743207466ff8b477e14bfb7af0ba2c93375b.tar.xz linux-97af743207466ff8b477e14bfb7af0ba2c93375b.zip |
mac80211: disable beacons before removing the associated interface
When downing interfaces, it's a good idea to tell the driver to
stop sending beacons; that way the driver doesn't need special
code in ops->remove_interface() when it should already handle the
case in bss_info_changed().
This fixes a potential crash with at least ath5k since the vif
pointer will be nullified while beacon interrupts are still active.
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/core.h')
0 files changed, 0 insertions, 0 deletions