]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitf9e10ce4cf86945eb5efcab31284c971877ed012
treea56ec8ed84019901bf92aa969e366afb8b8ce36b
parent09b174702601079c3a04806754be30ffbd70db4d
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