diff options
| author | Mingcheng Zhu <mingchen@qca.qualcomm.com> | 2014-02-27 19:36:00 -0800 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-03-03 10:38:28 -0800 |
| commit | 8e1c2a22f9f529f54e4dd290e96b6745e93254b8 (patch) | |
| tree | 9de9513ab426ed43d1029d9e33565e10844ac8ae | |
| parent | 7d3de7b64211ef5344107aefc03ebbf659d8e92b (diff) | |
wlan: Fix set11ACRates bug
The code in checking teh SapHw_mode is not correct.
Change-Id: I44e09bdecb5a64c655bc64f67bf7e883196783a1
CRs-Fixed: 623069
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_hostapd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CORE/HDD/src/wlan_hdd_hostapd.c b/CORE/HDD/src/wlan_hdd_hostapd.c index cae84263f45a..5c42dac519bd 100644 --- a/CORE/HDD/src/wlan_hdd_hostapd.c +++ b/CORE/HDD/src/wlan_hdd_hostapd.c @@ -1577,9 +1577,11 @@ static iw_softap_setparam(struct net_device *dev, tsap_Config_t *pConfig = &pHostapdAdapter->sessionCtx.ap.sapConfig; - if (pConfig->SapHw_mode != eSAP_DOT11_MODE_11ac || + if (pConfig->SapHw_mode != eSAP_DOT11_MODE_11ac && pConfig->SapHw_mode != eSAP_DOT11_MODE_11ac_ONLY) { - hddLog(VOS_TRACE_LEVEL_ERROR, "Not valid mode for VHT"); + hddLog(VOS_TRACE_LEVEL_ERROR, + "%s: SET_VHT_RATE error: SapHw_mode= 0x%x, ch = %d", + __func__, pConfig->SapHw_mode, pConfig->channel); ret = -EIO; break; } |
