mwifiex: change ap and station interface limits
ap/station interface limit has been changed to allow creating maximum 3 interfaces. Signed-off-by: Shengzhen Li <szli@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
5a1f052d59
commit
eb5d912e15
@ -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),
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user