|
@@ -4836,9 +4836,6 @@ static void wma_add_tdls_sta(tp_wma_handle wma, tpAddStaParams add_sta)
|
|
|
WMA_LOGE("%s: addSta, failed to find peer handle for mac %pM",
|
|
|
__func__, add_sta->staMac);
|
|
|
add_sta->status = QDF_STATUS_E_FAILURE;
|
|
|
- wma_remove_peer(wma, add_sta->staMac,
|
|
|
- add_sta->smesessionId, peer, false);
|
|
|
-
|
|
|
cdp_peer_add_last_real_peer(soc, pdev, vdev, &peer_id);
|
|
|
goto send_rsp;
|
|
|
}
|
|
@@ -4871,8 +4868,6 @@ static void wma_add_tdls_sta(tp_wma_handle wma, tpAddStaParams add_sta)
|
|
|
WMA_LOGE("%s: changeSta,failed to find peer handle for mac %pM",
|
|
|
__func__, add_sta->staMac);
|
|
|
add_sta->status = QDF_STATUS_E_FAILURE;
|
|
|
- wma_remove_peer(wma, add_sta->staMac,
|
|
|
- add_sta->smesessionId, peer, false);
|
|
|
|
|
|
cdp_peer_add_last_real_peer(soc, pdev, vdev, &peer_id);
|
|
|
|