aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2013-01-20 10:32:41 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-24 09:41:29 -0500
commit887da9176e011a044b12ec0deff62df5faadd67c (patch)
treecc90391e20d8d1b25e8418abde6b10105300628c /drivers
parenta65240c1013222dbf41166c8b2c5ed2720c807c3 (diff)
mac80211: provide the vif in rssi_callback
Since drivers can support several BSS / P2P Client interfaces, the rssi callback needs to inform the driver about the interface teh rssi event relates to. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/dvm/mac80211.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/mac80211.c b/drivers/net/wireless/iwlwifi/dvm/mac80211.c
index 02fdcea76b21..f16b81d625ad 100644
--- a/drivers/net/wireless/iwlwifi/dvm/mac80211.c
+++ b/drivers/net/wireless/iwlwifi/dvm/mac80211.c
@@ -1156,6 +1156,7 @@ static int iwlagn_mac_cancel_remain_on_channel(struct ieee80211_hw *hw)
1156} 1156}
1157 1157
1158static void iwlagn_mac_rssi_callback(struct ieee80211_hw *hw, 1158static void iwlagn_mac_rssi_callback(struct ieee80211_hw *hw,
1159 struct ieee80211_vif *vif,
1159 enum ieee80211_rssi_event rssi_event) 1160 enum ieee80211_rssi_event rssi_event)
1160{ 1161{
1161 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); 1162 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw);