From 1475de4bbbc0f8533bc9db27bf639e76f00292fd Mon Sep 17 00:00:00 2001 From: Santosh Sajjan Date: Thu, 7 Jul 2011 17:08:09 +0530 Subject: [PATCH] SDK set's channel 12 and 13 also in 11B mode incorrectly. CRs-Fixed: 268789 Change-Id: I20f56cd4d2aa5912512478c406776677b965e7f8 --- softap/sdk/qsap_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 softap/sdk/qsap_api.c diff --git a/softap/sdk/qsap_api.c b/softap/sdk/qsap_api.c old mode 100644 new mode 100755 index 2defa43..4626710 --- a/softap/sdk/qsap_api.c +++ b/softap/sdk/qsap_api.c @@ -2084,9 +2084,9 @@ static int qsap_set_channel(s32 channel, s8 *tbuf, u32 *tlen) return eERR_UNKNOWN; } - /** If the operating mode is NOT 'B' and the channel to be set is 12, 13 or 14 + /** If the operating mode is NOT 'B' and the channel to be set is 14 * then change the operating mode to 'N' mode */ - if(strcmp(hw_mode[HW_MODE_B], pcfgval) && (channel > 11)) { + if(strcmp(hw_mode[HW_MODE_B], pcfgval) && (channel > 13)) { /** Change the operating mode to 'B' */ ulen = *tlen; if(eSUCCESS != qsap_write_cfg(pcfg, &cmd_list[eCMD_HW_MODE], hw_mode[HW_MODE_B], tbuf, &ulen, HOSTAPD_CONF_FILE)) {