mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
qcacld-3.0: Don't allow update peer command if peer not found
Do not allow tdls peer update command if tdls peer is not found in lim. If peer assoc command is given to FW without peer create, FW will assert. Remove tdls peers in tdls component in case of roaming as peers are deleted in lim as part of roaming. Change-Id: Ie227da682e4d30c9b583881f7e2eaafe91826476 CRs-Fixed: 2441951
This commit is contained in:
parent
55864f4eb5
commit
51930d5a43
2 changed files with 8 additions and 5 deletions
|
|
@ -898,7 +898,7 @@ tdls_activate_update_peer(struct tdls_update_peer_request *req)
|
|||
if (QDF_IS_STATUS_ERROR(status))
|
||||
goto updatersp;
|
||||
|
||||
curr_peer = tdls_get_peer(vdev_obj, mac);
|
||||
curr_peer = tdls_find_peer(vdev_obj, mac);
|
||||
if (!curr_peer) {
|
||||
tdls_err(QDF_MAC_ADDR_STR " not exist. return invalid",
|
||||
QDF_MAC_ADDR_ARRAY(mac));
|
||||
|
|
|
|||
Loading…
Reference in a new issue