Commit eb5d912e authored by Shengzhen Li's avatar Shengzhen Li Committed by Kalle Valo

mwifiex: change ap and station interface limits

ap/station interface limit has been changed to allow
creating maximum 3 interfaces.
Signed-off-by: default avatarShengzhen Li <szli@marvell.com>
Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 5a1f052d
...@@ -26,12 +26,10 @@ module_param(reg_alpha2, charp, 0); ...@@ -26,12 +26,10 @@ module_param(reg_alpha2, charp, 0);
static const struct ieee80211_iface_limit mwifiex_ap_sta_limits[] = { static const struct ieee80211_iface_limit mwifiex_ap_sta_limits[] = {
{ {
.max = 2, .types = BIT(NL80211_IFTYPE_STATION) | .max = 3, .types = BIT(NL80211_IFTYPE_STATION) |
BIT(NL80211_IFTYPE_P2P_GO) | BIT(NL80211_IFTYPE_P2P_GO) |
BIT(NL80211_IFTYPE_P2P_CLIENT), BIT(NL80211_IFTYPE_P2P_CLIENT) |
}, BIT(NL80211_IFTYPE_AP),
{
.max = 1, .types = BIT(NL80211_IFTYPE_AP),
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment