From: Tomas Winkler Date: Mon, 8 Sep 2008 15:33:40 +0000 (+0200) Subject: mac80211: stop queues before carrier off X-Git-Tag: v2.6.28-rc1~717^2~292^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24e64622c3f3143c801850897ab0cea8f3c69445;p=pandora-kernel.git mac80211: stop queues before carrier off During testing of the disassociation fixes, Tomas noticed that it was possible to run into a situation where you'd suddenly get a few "wlan0: dropped frame to (unauthorized port)" messages and I found this to be due to the AP's sta_info having been removed but netif_carrier_off not having removed/stopped traffic yet. To avoid that, stop the queue for the interface (and avoid bringing them up when another vif scans when they weren't up.) Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed