qcacld-3.0: Allow addTspec in 11b mode.

qcacld-2.0 to qcacld-3.0 propagation

Currently if sta is connected to an AP
which only supports 11b, lim doesn't send
addTspec request to that AP. Specs doesn't
restrict Tspec in 11b. As a part of fix,
allow addTspec in 11b.

CRs-Fixed: 847755
Change-Id: I57c2d5139f9861140ab3bbe8314a1a3fe3e80e19
This commit is contained in:
Sushant Kaushik 2015-07-22 12:40:45 +05:30 • committed by Satish Singh
commit 90ed9e3bb9

View file

@ -3762,17 +3762,6 @@ static void __lim_process_sme_addts_req(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
smesessionId, smetransactionId);
return;
}
/* Ignore the request if STA is in 11B mode. */
if (psessionEntry->dot11mode == WNI_CFG_DOT11_MODE_11B) {
PELOGE(lim_log
(pMac, LOGE,
"AddTS received while Dot11Mode is 11B - ignoring");
)
lim_send_sme_addts_rsp(pMac, pSirAddts->rspReqd, eSIR_FAILURE,
psessionEntry, pSirAddts->req.tspec,
smesessionId, smetransactionId);
return;
}
pStaDs =
dph_get_hash_entry(pMac, DPH_STA_HASH_INDEX_PEER,