mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Delete all peers during SSR
During SSR in dp_vdev_flush_peers function, the else condition finds peers to delete by calling dp_peer_find_by_id. If the delete_in_progress_ flag has already been set to TRUE, then dp_peer_find_by_id will return NULL and not delete the vdev object. Calling __dp_peer_find_by_id will always return peer id so all peers are sure to be deleted. Change-Id: I86bf2bdda7ebc5a9c2f4bbc877392ebff9cbaf59 CRs-Fixed: 2513104
This commit is contained in:
parent
7eb35947eb
commit
52e54333f4
1 changed files with 1 additions and 1 deletions
|
|
@ -4828,7 +4828,7 @@ static void dp_vdev_flush_peers(struct cdp_vdev *vdev_handle, bool unmap_only)
|
|||
0);
|
||||
}
|
||||
} else {
|
||||
peer = dp_peer_find_by_id(soc, peer_ids[i]);
|
||||
peer = __dp_peer_find_by_id(soc, peer_ids[i]);
|
||||
|
||||
if (peer) {
|
||||
dp_info("peer: %pM is getting flush",
|
||||
|
|
|
|||
Loading…
Reference in a new issue