mwifiex: change ap and station interface limits
authorShengzhen Li <szli@marvell.com>
Mon, 14 Dec 2015 12:15:02 +0000 (04:15 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Dec 2015 14:57:52 +0000 (16:57 +0200)
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>
drivers/net/wireless/marvell/mwifiex/cfg80211.c

index 65dd85d4fb1437b10ea6c4f9ed787796c485a713..47d8afd2ad34102adc437cfe4594cb43e214ce55 100644 (file)
@@ -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),
        },
 };
 
This page took 0.030175 seconds and 5 git commands to generate.