From 6a02148e2c75dfbefb7387502469de87a25a4038 Mon Sep 17 00:00:00 2001 From: Deepak Dhamdhere Date: Thu, 20 Apr 2017 17:59:58 -0700 Subject: [PATCH] qcacld-3.0: Use correct smeSessionid in rrm beacon report xmit lim_send_radio_measure_report_action_frame() uses 0 as the smeSessionId and that results in wrong value of vdev_id when firmware vdev is 1, resulting in firmware assert. Use the value from sme session entry. CRs-Fixed: 2036670 Change-Id: I797a719abc29d4086be131f895a90e0752a2d27f --- core/mac/src/pe/lim/lim_send_management_frames.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/mac/src/pe/lim/lim_send_management_frames.c b/core/mac/src/pe/lim/lim_send_management_frames.c index d815136bcdc2..7fb25cb74d9a 100644 --- a/core/mac/src/pe/lim/lim_send_management_frames.c +++ b/core/mac/src/pe/lim/lim_send_management_frames.c @@ -4211,6 +4211,8 @@ lim_send_radio_measure_report_action_frame(tpAniSirGlobal pMac, return eSIR_FAILURE; } + smeSessionId = psessionEntry->smeSessionId; + pe_debug("dialog_token %d num_report %d", dialog_token, num_report);