mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: Add BSS peer for NaN mode
NS offload is not working for NaN mode because BSS peer is not set. Hence, set the BSS peer for NaN mode as it is done for SAP/P2P GO. Change-Id: I4c8fbd502cb1d90dd235ae35d0a85a9981e68773 CRs-Fixed: 2494515
This commit is contained in:
parent
908de4932d
commit
bf06e91c8c
1 changed files with 3 additions and 1 deletions
|
|
@ -794,7 +794,9 @@ QDF_STATUS wlan_objmgr_vdev_peer_attach(struct wlan_objmgr_vdev *vdev,
|
|||
wlan_vdev_set_selfpeer(vdev, peer);
|
||||
opmode = wlan_vdev_mlme_get_opmode(vdev);
|
||||
/* For AP mode, self peer and BSS peer are same */
|
||||
if ((opmode == QDF_SAP_MODE) || (opmode == QDF_P2P_GO_MODE))
|
||||
if ((opmode == QDF_SAP_MODE) ||
|
||||
(opmode == QDF_P2P_GO_MODE) ||
|
||||
(opmode == QDF_NDI_MODE))
|
||||
wlan_vdev_set_bsspeer(vdev, peer);
|
||||
}
|
||||
/* set BSS peer for sta */
|
||||
|
|
|
|||
Loading…
Reference in a new issue