瀏覽代碼

qcacld-3.0: Fix the parsing for BTM message

Currently the driver parses the BTM list
in the API lim_add_roam_blacklist_ap, but
the pointer to the source list is not incremented
which leads to addition of the same entry multiple
times.

Fix is to increment the pointer to the list for
every iteration.

Change-Id: I057c6e314827768679085047b32e524e4273b9fc
CRs-Fixed: 2554039
gaurank kathpalia 5 年之前
父節點
當前提交
709a13714c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/mac/src/pe/lim/lim_process_sme_req_messages.c

+ 1 - 0
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -6332,5 +6332,6 @@ void lim_add_roam_blacklist_ap(struct mac_context *mac_ctx,
 
 		/* Add this bssid to the rssi reject ap type in blacklist mgr */
 		lim_add_bssid_to_reject_list(mac_ctx->pdev, &entry);
+		blacklist++;
 	}
 }