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>
This commit is contained in:
Emmanuel Grumbach
2019-07-23 21:00:01 +03:00
committed by Johannes Berg
parent 690c4509e9
commit 5db4c4b955
10 changed files with 26 additions and 15 deletions

View File

@@ -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;