From: Arik Nemtsov Date: Tue, 23 Aug 2011 12:56:22 +0000 (+0300) Subject: wl12xx: allow 11a AP-mode for wl127x devices X-Git-Tag: MMI-PSA29.97-13-9~18194^2~254^2~25^2^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cabb81c9a8d8dd7e5f220244246332ab24ef6d80;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git wl12xx: allow 11a AP-mode for wl127x devices 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 Signed-off-by: Eliad Peller Signed-off-by: Luciano Coelho --- diff --git a/drivers/net/wireless/wl12xx/boot.c b/drivers/net/wireless/wl12xx/boot.c index cc70422c0575..6d5664bfc37d 100644 --- a/drivers/net/wireless/wl12xx/boot.c +++ b/drivers/net/wireless/wl12xx/boot.c @@ -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; }