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:

gecommit door
nshrivas

bovenliggende
55864f4eb5
commit
51930d5a43
@@ -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));
|
||||
|
Verwijs in nieuw issue
Block a user