|
@@ -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)
|
|
|
{
|