summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/cfg80211.c
diff options
context:
space:
mode:
authorShengzhen Li2015-12-14 13:15:02 +0100
committerKalle Valo2015-12-30 15:57:52 +0100
commiteb5d912e156409a951460578de898270e1c89617 (patch)
tree76e3d05d3d9316a2a9e6ecb30d8fef2d4260ee8c /drivers/net/wireless/marvell/mwifiex/cfg80211.c
parentMerge tag 'iwlwifi-next-for-kalle-2015-12-21' of https://git.kernel.org/pub/s... (diff)
downloadkernel-qcow2-linux-eb5d912e156409a951460578de898270e1c89617.tar.gz
kernel-qcow2-linux-eb5d912e156409a951460578de898270e1c89617.tar.xz
kernel-qcow2-linux-eb5d912e156409a951460578de898270e1c89617.zip
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>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/cfg80211.c')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/cfg80211.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
index 65dd85d4fb14..47d8afd2ad34 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
@@ -26,12 +26,10 @@ module_param(reg_alpha2, charp, 0);
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_CLIENT),
- },
- {
- .max = 1, .types = BIT(NL80211_IFTYPE_AP),
+ BIT(NL80211_IFTYPE_P2P_CLIENT) |
+ BIT(NL80211_IFTYPE_AP),
},
};