mac80211: make remain_on_channel() op pass vif param
[deliverable/linux.git] / net / mac80211 / driver-ops.h
index 4dc2577886ff0b5b2ac2973eab28cd6781d4879a..284dd02385e46393ec0f682c73c0d6b35cf22f1c 100644 (file)
@@ -704,6 +704,7 @@ static inline int drv_get_antenna(struct ieee80211_local *local,
 }
 
 static inline int drv_remain_on_channel(struct ieee80211_local *local,
+                                       struct ieee80211_sub_if_data *sdata,
                                        struct ieee80211_channel *chan,
                                        enum nl80211_channel_type chantype,
                                        unsigned int duration)
@@ -712,9 +713,9 @@ static inline int drv_remain_on_channel(struct ieee80211_local *local,
 
        might_sleep();
 
-       trace_drv_remain_on_channel(local, chan, chantype, duration);
-       ret = local->ops->remain_on_channel(&local->hw, chan, chantype,
-                                           duration);
+       trace_drv_remain_on_channel(local, sdata, chan, chantype, duration);
+       ret = local->ops->remain_on_channel(&local->hw, &sdata->vif,
+                                           chan, chantype, duration);
        trace_drv_return_int(local, ret);
 
        return ret;
This page took 0.036995 seconds and 5 git commands to generate.