Skip to content

Commit e8b7d0c

Browse files
saschahauerKalle Valo
authored andcommitted
wifi: mwifiex: increase max_num_akm_suites
The maximum number of AKM suites will be set to two if not specified by the driver. Set it to CFG80211_MAX_NUM_AKM_SUITES to let userspace specify up to ten AKM suites in the akm_suites array. Without only the first two AKM suites will be used, further ones are ignored. Signed-off-by: Sascha Hauer <[email protected]> Acked-by: Brian Norris <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 8400291 commit e8b7d0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/wireless/marvell/mwifiex/cfg80211.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4360,6 +4360,8 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)
43604360
BIT(NL80211_IFTYPE_P2P_GO) |
43614361
BIT(NL80211_IFTYPE_AP);
43624362

4363+
wiphy->max_num_akm_suites = CFG80211_MAX_NUM_AKM_SUITES;
4364+
43634365
if (ISSUPP_ADHOC_ENABLED(adapter->fw_cap_info))
43644366
wiphy->interface_modes |= BIT(NL80211_IFTYPE_ADHOC);
43654367

0 commit comments

Comments
 (0)