qca-wifi: use dp_vdev_bss_peer_get API to get bss peer

Use dp_vdev_bss_peer_get to get the BSS peer instead of
using backpointer in vdev

Change-Id: Ic824b4a2bab044fb4f729bf507ac74f3a7e973a9
diff --git a/dp/wifi3.0/dp_txrx_wds.c b/dp/wifi3.0/dp_txrx_wds.c
index 57b73c9..a7b4ec6 100644
--- a/dp/wifi3.0/dp_txrx_wds.c
+++ b/dp/wifi3.0/dp_txrx_wds.c
@@ -211,7 +211,7 @@
 		return;
 
 	soc = vdev->pdev->soc;
-	peer = vdev->vap_bss_peer;
+	peer = dp_vdev_bss_peer_ref_n_get(soc, vdev);
 
 	if (!peer) {
 		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
@@ -233,6 +233,7 @@
 				mac_addr,
 				CDP_TXRX_AST_TYPE_MEC,
 				flags);
+	dp_peer_unref_delete(peer);
 }
 
 /**