Revert "qcacld-3.0: Get netdev from wdev instead of iface name"

This reverts commit Idf394f4a22ace8757f947b2ef8e4a7d22e66d65e
which is causing termination of NDP session immediately after
formation.

Change-Id: I88a9c4ab80b727e5bda7a9f9c7e8b48399f98a34
CRs-Fixed: 3133498
This commit is contained in:
Ashish
2022-02-21 23:23:25 +05:30
committed by Madan Koyyalamudi
parent ddafba8d92
commit b9745bd455
3 changed files with 68 additions and 34 deletions

View File

@@ -55,14 +55,12 @@ struct ndi_find_vdev_filter {
* @data_len: length of data
* @is_ndp_allowed: Indicates whether to allow NDP creation.
* NDI creation is always allowed.
* @wdev: Wireless device structure pointer
*
* Return: status of operation
*/
int os_if_nan_process_ndp_cmd(struct wlan_objmgr_psoc *psoc,
const void *data, int data_len,
bool is_ndp_allowed,
struct wireless_dev *wdev);
bool is_ndp_allowed);
/**
* os_if_nan_register_hdd_callbacks: os_if api to register hdd callbacks