summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rsi
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2019-07-23 20:00:01 +0200
committerJohannes Berg <johannes.berg@intel.com>2019-07-26 13:08:28 +0200
commit5db4c4b9559f8cddd5f7f74e58c7b8f172120e6d (patch)
treec1ef8a73e258af097396422b4adc20a76f4927d8 /drivers/net/wireless/rsi
parentmac80211_hwsim: Fix a typo in the name of function 'mac80211_hswim_he_capab()' (diff)
downloadlinux-5db4c4b9559f8cddd5f7f74e58c7b8f172120e6d.tar.xz
linux-5db4c4b9559f8cddd5f7f74e58c7b8f172120e6d.zip
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/rsi')
-rw-r--r--drivers/net/wireless/rsi/rsi_91x_mac80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_mac80211.c b/drivers/net/wireless/rsi/rsi_91x_mac80211.c
index 49df3bb08d41..ce5e92d82efc 100644
--- a/drivers/net/wireless/rsi/rsi_91x_mac80211.c
+++ b/drivers/net/wireless/rsi/rsi_91x_mac80211.c
@@ -1818,7 +1818,8 @@ out:
return status;
}
-static int rsi_mac80211_cancel_roc(struct ieee80211_hw *hw)
+static int rsi_mac80211_cancel_roc(struct ieee80211_hw *hw,
+ struct ieee80211_vif *vif)
{
struct rsi_hw *adapter = hw->priv;
struct rsi_common *common = adapter->priv;