From d5a58fe264c5854d0d8a174b28a3bfce20b1cf53 Mon Sep 17 00:00:00 2001 From: Deepthi Gowri Date: Sat, 3 Sep 2016 16:01:28 +0530 Subject: qcacld-3.0: Register management frames during wlan re init qcacld-2.0 to qcacld-3.0 propagation It could be possible that after SSR, pMac context is lost, due to which the management frame callback will not be invoked and none of the management frames will be processed, resulting in scan and connection issues. To address this, Register management frame callback during wlan re init. CRs-Fixed: 962187 Change-Id: I5429da9dbc33c7e2044d5a4daa1c8d3d7af241ee (cherry picked from commit aa3229ce46b3b8922d6dbad512aeb038df15530a) (cherry picked from commit 48a63b11432f5879cc5abaf2cff78977253d5d41) --- core/hdd/src/wlan_hdd_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index e445f1586ddb..0978ddf98dc6 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -7740,7 +7740,8 @@ int hdd_register_cb(hdd_context_t *hdd_ctx) ret = -EINVAL; return ret; } - + sme_register_mgmt_frame_ind_callback(hdd_ctx->hHal, + hdd_indicate_mgmt_frame); sme_set_tsfcb(hdd_ctx->hHal, hdd_get_tsf_cb, hdd_ctx); sme_nan_register_callback(hdd_ctx->hHal, wlan_hdd_cfg80211_nan_callback); -- cgit v1.2.3