qcacld-3.0: Change ucfg tdls API as wrapper to wlan API
Change ucfg_tdls_notify_connect_failure() API as a wrapper to a new API wlan_tdls_notify_connect_failure() which in turn calls the core API. Change-Id: I998669f9c829cb91e21b359ba794f396214854e2 CRs-Fixed: 2767682
This commit is contained in:

committed by
snandini

parent
d146edd331
commit
5202fa8547
@@ -1191,11 +1191,25 @@ QDF_STATUS ucfg_tdls_set_rssi(struct wlan_objmgr_vdev *vdev,
|
||||
return tdls_set_rssi(vdev, mac, rssi);
|
||||
}
|
||||
|
||||
void ucfg_tdls_notify_connect_failure(struct wlan_objmgr_psoc *psoc)
|
||||
/**
|
||||
* wlan_tdls_notify_connect_failure() - This api is called if STA/P2P
|
||||
* connection fails on one iface and to enable/disable TDLS on the other
|
||||
* STA/P2P iface which is already connected.
|
||||
* @psoc: psoc object
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static inline
|
||||
void wlan_tdls_notify_connect_failure(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return tdls_notify_decrement_session(psoc);
|
||||
}
|
||||
|
||||
void ucfg_tdls_notify_connect_failure(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return wlan_tdls_notify_connect_failure(psoc);
|
||||
}
|
||||
|
||||
struct wlan_objmgr_vdev *ucfg_get_tdls_vdev(struct wlan_objmgr_psoc *psoc,
|
||||
wlan_objmgr_ref_dbgid dbg_id)
|
||||
{
|
||||
|
Reference in New Issue
Block a user