qcacld-3.0: Use objmgr peer to check if peer already exist

Use obj manager peer to check if peer already exist, instead
of cdp API.

Change-Id: I87edd33f09b2b7927f99b87acf4202b2a7ac0236
CRs-Fixed: 2627494
This commit is contained in:
gaurank kathpalia
2020-02-22 17:14:14 +05:30
zatwierdzone przez nshrivas
rodzic 8c033d987b
commit c9f0a7e533
5 zmienionych plików z 37 dodań i 21 usunięć

Wyświetl plik

@@ -2457,13 +2457,13 @@ int wma_motion_det_base_line_host_event_handler(void *handle, u_int8_t *event,
/**
* wma_add_bss_peer_sta() - creat bss peer when sta connect
* @self_mac: self mac address
* @vdev_id: vdev id
* @bssid: AP bssid
* @roam_sync: if roam sync is in progress
*
* Return: 0 on success, else error on failure
*/
QDF_STATUS wma_add_bss_peer_sta(uint8_t *self_mac, uint8_t *bssid,
QDF_STATUS wma_add_bss_peer_sta(uint8_t vdev_id, uint8_t *bssid,
bool roam_sync);
/**