From: Johannes Berg Date: Fri, 27 Aug 2010 10:35:54 +0000 (+0200) Subject: mac80211: clean up ifdown/cleanup paths X-Git-Tag: v2.6.37-rc1~147^2~584^2^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9dcf712d1fb98bf279fcd453a42a763b104961d;p=pandora-kernel.git mac80211: clean up ifdown/cleanup paths There's a lot of redundant code in mac80211's interface cleanup/down, for example freeing AP beacons is done both when the interface is set DOWN as well as when it is torn down, of which only the former has any effect. Also, a bunch of things should be closer to where they matter, like the MLME timers that we should cancel when disassociating, rather than only when the interface is set DOWN. Clean up all this code. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed