]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: require add_virtual_intf to return new dev
authorJohannes Berg <johannes.berg@intel.com>
Fri, 3 Dec 2010 08:20:42 +0000 (09:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Dec 2010 21:01:28 +0000 (16:01 -0500)
commit7d3257c0a97a8d83661456a42d529d6f11f0afd7
treea56ec8ed84019901bf92aa969e366afb8b8ce36b
parent01d131b134b362cf1aab623524bb78017e9ec79d
cfg80211: require add_virtual_intf to return new dev

cfg80211 used to do all its bookkeeping in
the notifier, but some new stuff will have
to use local variables so make the callback
return the netdev pointer.

Tested-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c