projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6140341
)
wifi: mac80211: use u64 to hold enum ieee80211_bss_change flags
author
Mukesh Sisodiya
<mukesh.sisodiya@intel.com>
Sun, 4 Jun 2023 09:11:13 +0000
(12:11 +0300)
committer
Johannes Berg
<johannes.berg@intel.com>
Tue, 6 Jun 2023 12:14:53 +0000
(14:14 +0200)
The size of enum ieee80211_bss_change is bigger that 32,
so we need u64 to be used in a flag. Also pass u64
instead of u32 to ieee80211_reconfig_ap_links() for the same
reason.
Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link:
https://lore.kernel.org/r/20230604120651.d53b7018a4eb.I1adaa041de51d50d84a11226573e81ceac0fe90d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/util.c
b/net/mac80211/util.c
index 7a9abe8bf438931ffd8d19d497f3424defa6fa03..3f24b6e59652cf5bb23490ba9b2dc8efd936c51c 100644
(file)
--- a/
net/mac80211/util.c
+++ b/
net/mac80211/util.c
@@
-2477,7
+2477,7
@@
static int ieee80211_reconfig_nan(struct ieee80211_sub_if_data *sdata)
static void ieee80211_reconfig_ap_links(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
- u
32
changed)
+ u
64
changed)
{
int link_id;
@@
-2654,7
+2654,7
@@
int ieee80211_reconfig(struct ieee80211_local *local)
/* Finally also reconfigure all the BSS information */
list_for_each_entry(sdata, &local->interfaces, list) {
/* common change flags for all interface types - link only */
- u
32
changed = BSS_CHANGED_ERP_CTS_PROT |
+ u
64
changed = BSS_CHANGED_ERP_CTS_PROT |
BSS_CHANGED_ERP_PREAMBLE |
BSS_CHANGED_ERP_SLOT |
BSS_CHANGED_HT |