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:

committed by
Johannes Berg

parent
690c4509e9
commit
5db4c4b955
@@ -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;
|
||||
|
||||
|
@@ -2392,7 +2392,8 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int ath9k_cancel_remain_on_channel(struct ieee80211_hw *hw)
|
||||
static int ath9k_cancel_remain_on_channel(struct ieee80211_hw *hw,
|
||||
struct ieee80211_vif *vif)
|
||||
{
|
||||
struct ath_softc *sc = hw->priv;
|
||||
struct ath_common *common = ath9k_hw_common(sc->sc_ah);
|
||||
|
Reference in New Issue
Block a user