mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-17 02:02:53 -04:00
qcacmn: remove addtional checks in __dp_peer_find_by_id
Remove checks which are not needed from __dp_peer_find_by_id Change-Id: I31e660ef8af070cd6e3f7a892ffd9cc05ec21712
This commit is contained in:
parent
ee82634a98
commit
a4ea3a95ef
1 changed files with 0 additions and 8 deletions
|
|
@ -41,14 +41,6 @@ __dp_peer_find_by_id(struct dp_soc *soc,
|
|||
peer = (peer_id >= soc->max_peers) ? NULL :
|
||||
soc->peer_id_to_obj_map[peer_id];
|
||||
|
||||
/**
|
||||
* For bss peer, peer is not really deleted
|
||||
* but reference count is decremented in firmware
|
||||
* and hence ignore delete in progress for bss peer
|
||||
*/
|
||||
if (peer && !peer->bss_peer && peer->delete_in_progress)
|
||||
return NULL;
|
||||
|
||||
return peer;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue