qcacld-3.0: Correct the peer_macaddr index to the expected value
valid_idx should be used instead of idx to check peer_macaddr mac address. Change-Id: Ifd761e4b9caa36d2a04b1dd3bcd75c7181b347f2 CRs-Fixed: 2644625
This commit is contained in:
@@ -3762,7 +3762,7 @@ static bool roam_remove_ibss_station(struct hdd_adapter *adapter,
|
||||
if (successful) {
|
||||
if (del_idx == 0) {
|
||||
if (hdd_is_valid_mac_address(
|
||||
sta_ctx->conn_info.peer_macaddr[idx].bytes)) {
|
||||
sta_ctx->conn_info.peer_macaddr[valid_idx].bytes)) {
|
||||
qdf_copy_macaddr(&sta_ctx->conn_info.
|
||||
peer_macaddr[0],
|
||||
&sta_ctx->conn_info.
|
||||
|
Reference in New Issue
Block a user