]> git.karo-electronics.de Git - linux-beck.git/commitdiff
wl12xx: allow 11a AP-mode for wl127x devices
authorArik Nemtsov <arik@wizery.com>
Tue, 23 Aug 2011 12:56:22 +0000 (15:56 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 25 Aug 2011 07:19:28 +0000 (10:19 +0300)
There was a check preventing 127x devices from using the 11a band when
operating as AP. Since we now support this functionality, remove the
check.

With this patch, a 11a AP starts ok on 127x cards.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/boot.c

index cc70422c0575a2f89056ae08c22c2c32c0f6db3b..6d5664bfc37dcffa9deaf904a092b8d59e50cbb0 100644 (file)
@@ -294,9 +294,7 @@ static int wl1271_boot_upload_nvs(struct wl1271 *wl)
                 */
                if (wl->nvs_len == sizeof(struct wl1271_nvs_file) ||
                    wl->nvs_len == WL1271_INI_LEGACY_NVS_FILE_SIZE) {
-                       /* for now 11a is unsupported in AP mode */
-                       if (wl->bss_type != BSS_TYPE_AP_BSS &&
-                           nvs->general_params.dual_mode_select)
+                       if (nvs->general_params.dual_mode_select)
                                wl->enable_11a = true;
                }