diff options
author | David Spinadel <david.spinadel@intel.com> | 2013-07-31 15:06:22 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-08-12 12:11:42 (GMT) |
commit | 52981cd79461e47fe683febfcbd3d380c72b1c6c (patch) | |
tree | a6d149e4d43930d57c81f7a2b00380b26a395307 /drivers/net/wireless/mac80211_hwsim.c | |
parent | fc73f11f5fa230f8c687d51b0fddb00433092ce0 (diff) | |
download | linux-52981cd79461e47fe683febfcbd3d380c72b1c6c.tar.xz |
mac80211: add vif to testmode cmd
Pass the wdev from cfg80211 on to the driver as the vif
if given and it's valid for the driver.
Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 7b2a622..a0d2aac 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -1364,6 +1364,7 @@ static const struct nla_policy hwsim_testmode_policy[HWSIM_TM_ATTR_MAX + 1] = { static int hwsim_fops_ps_write(void *dat, u64 val); static int mac80211_hwsim_testmode_cmd(struct ieee80211_hw *hw, + struct ieee80211_vif *vif, void *data, int len) { struct mac80211_hwsim_data *hwsim = hw->priv; |