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)
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>

No differences found