diff options
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r-- | net/mac80211/driver-ops.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index 68c27aaf5c93..c6560cc7a9d6 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h | |||
@@ -738,16 +738,15 @@ static inline int drv_get_antenna(struct ieee80211_local *local, | |||
738 | static inline int drv_remain_on_channel(struct ieee80211_local *local, | 738 | static inline int drv_remain_on_channel(struct ieee80211_local *local, |
739 | struct ieee80211_sub_if_data *sdata, | 739 | struct ieee80211_sub_if_data *sdata, |
740 | struct ieee80211_channel *chan, | 740 | struct ieee80211_channel *chan, |
741 | enum nl80211_channel_type chantype, | ||
742 | unsigned int duration) | 741 | unsigned int duration) |
743 | { | 742 | { |
744 | int ret; | 743 | int ret; |
745 | 744 | ||
746 | might_sleep(); | 745 | might_sleep(); |
747 | 746 | ||
748 | trace_drv_remain_on_channel(local, sdata, chan, chantype, duration); | 747 | trace_drv_remain_on_channel(local, sdata, chan, duration); |
749 | ret = local->ops->remain_on_channel(&local->hw, &sdata->vif, | 748 | ret = local->ops->remain_on_channel(&local->hw, &sdata->vif, |
750 | chan, chantype, duration); | 749 | chan, duration); |
751 | trace_drv_return_int(local, ret); | 750 | trace_drv_return_int(local, ret); |
752 | 751 | ||
753 | return ret; | 752 | return ret; |