mac80211: fix variable names in TID config methods
Fix all variable names from 'tid' to 'tids' to avoid confusion. Now this is not TID number, but TID mask. Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> Link: https://lore.kernel.org/r/20200424112905.26770-3-sergey.matyukevich.os@quantenna.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
2d5d9b7ff4
commit
60c2ef0ef0
@@ -1375,12 +1375,12 @@ static inline int drv_set_tid_config(struct ieee80211_local *local,
|
||||
|
||||
static inline int drv_reset_tid_config(struct ieee80211_local *local,
|
||||
struct ieee80211_sub_if_data *sdata,
|
||||
struct ieee80211_sta *sta, u8 tid)
|
||||
struct ieee80211_sta *sta, u8 tids)
|
||||
{
|
||||
int ret;
|
||||
|
||||
might_sleep();
|
||||
ret = local->ops->reset_tid_config(&local->hw, &sdata->vif, sta, tid);
|
||||
ret = local->ops->reset_tid_config(&local->hw, &sdata->vif, sta, tids);
|
||||
trace_drv_return_int(local, ret);
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user