wlcore: allow up to 3 running STA interfaces in combinations
authorArik Nemtsov <arik@wizery.com>
Thu, 2 Aug 2012 19:00:34 +0000 (22:00 +0300)
committerLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:13:52 +0000 (12:13 +0300)
This allows us to have a p2p-management interface (in STA mode),
as we as a group dedicated interface.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <luca@coelho.fi>
drivers/net/wireless/ti/wlcore/main.c

index 09f0e44f21b39515624691a1ad6b748170e7ed88..7b825e8c1a9b49b0e781471f860f00db2f47fdf7 100644 (file)
@@ -5180,7 +5180,7 @@ static void wl1271_unregister_hw(struct wl1271 *wl)
 
 static const struct ieee80211_iface_limit wlcore_iface_limits[] = {
        {
-               .max = 2,
+               .max = 3,
                .types = BIT(NL80211_IFTYPE_STATION),
        },
        {
@@ -5195,7 +5195,7 @@ static const struct ieee80211_iface_combination
 wlcore_iface_combinations[] = {
        {
          .num_different_channels = 1,
-         .max_interfaces = 2,
+         .max_interfaces = 3,
          .limits = wlcore_iface_limits,
          .n_limits = ARRAY_SIZE(wlcore_iface_limits),
        },