qcacld-3.0: Remove connected peer count check to reset the tdls peers
Currently, in function tdls_process_reset_all_peers before checking the tdls peer state connected peer count is checked and if is zero then returned without checking the peer id. If peer is created but the peer count is not increased then TDLS component will not notify to delete the peer and this can lead to subsequent add peer denials. Change-Id: I2fd1d6945eb9dca478f11cd05ba0ee4a9ed007ea CRs-Fixed: 2524442
This commit is contained in:
parent
bbeb655bc8
commit
540dca4c31
@ -489,11 +489,6 @@ static QDF_STATUS tdls_process_reset_all_peers(struct wlan_objmgr_vdev *vdev)
|
||||
return status;
|
||||
}
|
||||
|
||||
if (!tdls_soc->connected_peer_count) {
|
||||
tdls_debug("No tdls connected peers");
|
||||
return status;
|
||||
}
|
||||
|
||||
reset_session_id = tdls_vdev->session_id;
|
||||
for (staidx = 0; staidx < tdls_soc->max_num_tdls_sta;
|
||||
staidx++) {
|
||||
|
Loading…
Reference in New Issue
Block a user