浏览代码

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)
Deepthi Gowri 8 年之前
父节点
当前提交
d5a58fe264
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/hdd/src/wlan_hdd_main.c

+ 2 - 1
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);