cfg80211: add wdev to testmode cmd
authorDavid Spinadel <david.spinadel@intel.com>
Wed, 31 Jul 2013 15:04:15 +0000 (18:04 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Aug 2013 12:11:37 +0000 (14:11 +0200)
commitfc73f11f5fa230f8c687d51b0fddb00433092ce0
treef1c2e5c855a97dd4039b3df2a0b8cde96744898f
parentaf61a165187bb94b1dc7628ef815c23d0eacf40b
cfg80211: add wdev to testmode cmd

To allow drivers to implement per-interface testmode operations
more easily, pass a wdev pointer if any identification for one
was given from userspace. Clean up the code a bit while at it.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath6kl/testmode.c
drivers/net/wireless/ath/ath6kl/testmode.h
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c
net/wireless/rdev-ops.h
net/wireless/trace.h