diff options
author | Eliad Peller <eliad@wizery.com> | 2011-09-25 19:06:54 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-27 20:34:11 +0200 |
commit | f6f3def323e5d60cc2a5659533dce547c0aac5fc (patch) | |
tree | 9e5470eb3301c588f3ec75cc3f0ce504b50d77d5 /net/mac80211/driver-ops.h | |
parent | cfg80211/mac80211: add netdev param to set_txq_params() (diff) | |
download | linux-f6f3def323e5d60cc2a5659533dce547c0aac5fc.tar.xz linux-f6f3def323e5d60cc2a5659533dce547c0aac5fc.zip |
mac80211: save tx params per sdata
save and configure tx param per sdata, rather than
per hardware.
Signed-off-by: Eliad Peller <eliad@wizery.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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index 5e5d97389bc9..4f845c0845ee 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h @@ -413,14 +413,15 @@ static inline void drv_sta_remove(struct ieee80211_local *local, trace_drv_return_void(local); } -static inline int drv_conf_tx(struct ieee80211_local *local, u16 queue, +static inline int drv_conf_tx(struct ieee80211_local *local, + struct ieee80211_sub_if_data *sdata, u16 queue, const struct ieee80211_tx_queue_params *params) { int ret = -EOPNOTSUPP; might_sleep(); - trace_drv_conf_tx(local, queue, params); + trace_drv_conf_tx(local, sdata, queue, params); if (local->ops->conf_tx) ret = local->ops->conf_tx(&local->hw, queue, params); trace_drv_return_int(local, ret); |