diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2019-07-23 21:00:01 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-07-26 14:08:28 +0300 |
commit | 5db4c4b9559f8cddd5f7f74e58c7b8f172120e6d (patch) | |
tree | c1ef8a73e258af097396422b4adc20a76f4927d8 /drivers/net/wireless/ath/ath10k/mac.c | |
parent | 690c4509e980e7c9652945f5ae47e90f00f25ffc (diff) | |
download | linux-5db4c4b9559f8cddd5f7f74e58c7b8f172120e6d.tar.xz |
mac80211: pass the vif to cancel_remain_on_channel
This low level driver can find it useful to get the vif
when a remain on channel session is cancelled.
iwlwifi will need this soon.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://lore.kernel.org/r/20190723180001.5828-1-emmanuel.grumbach@intel.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/mac.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/mac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 0606416dc971..12dad659bf68 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -6970,7 +6970,8 @@ exit: return ret; } -static int ath10k_cancel_remain_on_channel(struct ieee80211_hw *hw) +static int ath10k_cancel_remain_on_channel(struct ieee80211_hw *hw, + struct ieee80211_vif *vif) { struct ath10k *ar = hw->priv; |