diff options
author | Chun-Yeow Yeoh <yeohchunyeow@gmail.com> | 2013-01-24 23:47:50 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-30 15:06:44 -0500 |
commit | 4a5fc6d7074de72dd836fbb9c5cd79f9a491871c (patch) | |
tree | f389af6e2e365f1286ad0d77d9e5405047b35246 /drivers/net/wireless/rt2x00/rt2x00dev.c | |
parent | 92941382e8b80c55a4ad06b88a3bf95110969693 (diff) |
rt2x00: allow AP and mesh mode to operate simultaneously
Allow AP and Mesh mode to operate concurrently using
single radio. Verify this using fonera 2.0n featuring
RT3052 chipset and also TP-LINK TL-WN727N featuring
RT5370 chipset.
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemal.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 92a0aa5d7b08..1031db66474a 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -1236,7 +1236,8 @@ static inline void rt2x00lib_set_if_combinations(struct rt2x00_dev *rt2x00dev) | |||
1236 | */ | 1236 | */ |
1237 | if_limit = &rt2x00dev->if_limits_ap; | 1237 | if_limit = &rt2x00dev->if_limits_ap; |
1238 | if_limit->max = rt2x00dev->ops->max_ap_intf; | 1238 | if_limit->max = rt2x00dev->ops->max_ap_intf; |
1239 | if_limit->types = BIT(NL80211_IFTYPE_AP); | 1239 | if_limit->types = BIT(NL80211_IFTYPE_AP) | |
1240 | BIT(NL80211_IFTYPE_MESH_POINT); | ||
1240 | 1241 | ||
1241 | /* | 1242 | /* |
1242 | * Build up AP interface combinations structure. | 1243 | * Build up AP interface combinations structure. |