提交 eb5d912e 编写于 作者: S Shengzhen Li 提交者: 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: NShengzhen Li <szli@marvell.com>
Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册