summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrunal Soni <ksoni@codeaurora.org>2017-03-01 19:45:40 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-03-02 13:39:55 -0800
commit6b71908a37f140e66d1092397470687fcd24978a (patch)
tree7db8baeb1b5c34fb42cc0e19bf3803e05da27ff9
parent9c1813e465287d1bc254660948528656cbec0714 (diff)
qcacld-3.0: Fix sub type of association response
Current driver sends association response when it receives reassociation request which creates the IoT issue. Fix the sub type. Change-Id: Id86966794cf45e4596473fb68e9b400489bc7041 CRs-Fixed: 2014103
-rw-r--r--core/mac/src/pe/lim/lim_process_assoc_req_frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c
index 9e546a09616d..1b5e0be3dd51 100644
--- a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c
+++ b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c
@@ -1811,7 +1811,7 @@ void lim_process_assoc_req_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
*/
lim_send_assoc_rsp_mgmt_frame(mac_ctx, eSIR_SUCCESS,
sta_ds->assocId, sta_ds->staAddr,
- sta_ds->mlmStaContext.subType,
+ sub_type,
sta_ds, session);
lim_log(mac_ctx, LOGE,
FL("DUT already received an assoc request frame and STA is sending another assoc req.So, do not Process sessionid: %d sys sub_type=%d for role=%d from: "