diff options
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r-- | net/mac80211/driver-ops.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index d51afbd614d3..e75f5b9eb24f 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h | |||
@@ -845,11 +845,12 @@ static inline void drv_set_rekey_data(struct ieee80211_local *local, | |||
845 | } | 845 | } |
846 | 846 | ||
847 | static inline void drv_rssi_callback(struct ieee80211_local *local, | 847 | static inline void drv_rssi_callback(struct ieee80211_local *local, |
848 | struct ieee80211_sub_if_data *sdata, | ||
848 | const enum ieee80211_rssi_event event) | 849 | const enum ieee80211_rssi_event event) |
849 | { | 850 | { |
850 | trace_drv_rssi_callback(local, event); | 851 | trace_drv_rssi_callback(local, sdata, event); |
851 | if (local->ops->rssi_callback) | 852 | if (local->ops->rssi_callback) |
852 | local->ops->rssi_callback(&local->hw, event); | 853 | local->ops->rssi_callback(&local->hw, &sdata->vif, event); |
853 | trace_drv_return_void(local); | 854 | trace_drv_return_void(local); |
854 | } | 855 | } |
855 | 856 | ||