diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-07-23 17:24:48 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 20:04:05 (GMT) |
commit | b4ca6084a84d50c5b0986adff7fdf8244b84fe39 (patch) | |
tree | 4006e312678e864119ffbcc5bc51562ecabd7583 /net/mac80211/driver-ops.h | |
parent | c6baf7fb40cb141c4b510372f7dac829621ccf3f (diff) | |
download | linux-fsl-qoriq-b4ca6084a84d50c5b0986adff7fdf8244b84fe39.tar.xz |
mac80211: remove offchannel_tx API
For iwlwifi, I decided not to use this API since
it just increased the complexity for little gain.
Since nobody else intends to use it, let's kill
it again. If anybody later needs to have it, we
can always revive it then.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r-- | net/mac80211/driver-ops.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index 1425380..9001ff3 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h @@ -590,37 +590,6 @@ static inline int drv_cancel_remain_on_channel(struct ieee80211_local *local) return ret; } -static inline int drv_offchannel_tx(struct ieee80211_local *local, - struct sk_buff *skb, - struct ieee80211_channel *chan, - enum nl80211_channel_type channel_type, - unsigned int wait) -{ - int ret; - - might_sleep(); - - trace_drv_offchannel_tx(local, skb, chan, channel_type, wait); - ret = local->ops->offchannel_tx(&local->hw, skb, chan, - channel_type, wait); - trace_drv_return_int(local, ret); - - return ret; -} - -static inline int drv_offchannel_tx_cancel_wait(struct ieee80211_local *local) -{ - int ret; - - might_sleep(); - - trace_drv_offchannel_tx_cancel_wait(local); - ret = local->ops->offchannel_tx_cancel_wait(&local->hw); - trace_drv_return_int(local, ret); - - return ret; -} - static inline int drv_set_ringparam(struct ieee80211_local *local, u32 tx, u32 rx) { |