From: Sergey Matyukevich Date: Fri, 24 Apr 2020 11:29:01 +0000 (+0300) Subject: cfg80211: fix mask type in cfg80211_tid_cfg structure X-Git-Tag: v5.8-rc1~165^2~38^2~43 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2d5d9b7ff49f52ab3ec66ffdc841471a1353ea1b;p=users%2Fwilly%2Flinux.git cfg80211: fix mask type in cfg80211_tid_cfg structure 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 Link: https://lore.kernel.org/r/20200424112905.26770-2-sergey.matyukevich.os@quantenna.com Signed-off-by: Johannes Berg --- diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 8b6d5c5184d1..e71d4f690ef1 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -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;