From: Bob Copeland Date: Wed, 29 Jul 2009 08:13:03 +0000 (+0200) Subject: mac80211: disable beacons before removing the associated interface X-Git-Tag: v2.6.32-rc1~703^2~459^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97af743207466ff8b477e14bfb7af0ba2c93375b;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed