From: Johannes Berg Date: Fri, 27 Aug 2010 10:35:58 +0000 (+0200) Subject: mac80211: support runtime interface type changes X-Git-Tag: v2.6.37-rc1~147^2~584^2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34d4bc4d41d282a66dafe1b01a7d46bad468cefb;p=pandora-kernel.git mac80211: support runtime interface type changes Add support to mac80211 for changing the interface type even when the interface is UP, if the driver supports it. To achieve this * add a new driver callback for switching, * split some of the interface up/down code out into new functions (do_open/do_stop), and * maintain an own __SDATA_RUNNING bit that will not be set during interface type, so that any other code doesn't use the interface. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed