Skip to content

Commit

Permalink
cfg80211: fix mask type in cfg80211_tid_cfg structure
Browse files Browse the repository at this point in the history
TIDs mask type is u64 in wiphy settings and nl80211 processing, see:
- wiphy TIDs mask sizes in tid_config_support structure
- prepare driver command in parse_tid_conf

Use the same type for TIDs mask in cfg80211_tid_cfg.

Signed-off-by: Sergey Matyukevich <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
  • Loading branch information
Sergey Matyukevich authored and jmberg-intel committed May 27, 2020
1 parent dc0f3ed commit 2d5d9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/cfg80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ struct cfg80211_chan_def {
struct cfg80211_tid_cfg {
bool config_override;
u8 tids;
u32 mask;
u64 mask;
enum nl80211_tid_config noack;
u8 retry_long, retry_short;
enum nl80211_tid_config ampdu;
Expand Down

0 comments on commit 2d5d9b7

Please sign in to comment.