summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepthi Gowri <deepthi@codeaurora.org>2016-09-03 16:01:28 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-09-11 17:12:19 -0700
commitd5a58fe264c5854d0d8a174b28a3bfce20b1cf53 (patch)
treeb031c3d1ca455bbb7a71b20cb41029b7c3a9212e
parent1f8352170f97d80f03732a9f23c6f52a58de1704 (diff)
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)
-rw-r--r--core/hdd/src/wlan_hdd_main.c3
1 files changed, 2 insertions, 1 deletions
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);