mac80211: provide the vif in rssi_callback
[deliverable/linux.git] / net / mac80211 / driver-ops.h
index d51afbd614d356ddcde3f9101ab922c7f05ae8b5..e75f5b9eb24f55c177e402dfc7b3c0045f2ffe86 100644 (file)
@@ -845,11 +845,12 @@ static inline void drv_set_rekey_data(struct ieee80211_local *local,
 }
 
 static inline void drv_rssi_callback(struct ieee80211_local *local,
+                                    struct ieee80211_sub_if_data *sdata,
                                     const enum ieee80211_rssi_event event)
 {
-       trace_drv_rssi_callback(local, event);
+       trace_drv_rssi_callback(local, sdata, event);
        if (local->ops->rssi_callback)
-               local->ops->rssi_callback(&local->hw, event);
+               local->ops->rssi_callback(&local->hw, &sdata->vif, event);
        trace_drv_return_void(local);
 }
 
This page took 0.02443 seconds and 5 git commands to generate.