|
@@ -8859,6 +8859,7 @@ QDF_STATUS hdd_start_all_adapters(struct hdd_context *hdd_ctx)
|
|
|
struct hdd_adapter *adapter, *next_adapter = NULL;
|
|
|
bool value;
|
|
|
wlan_net_dev_ref_dbgid dbgid = NET_DEV_HOLD_START_ALL_ADAPTERS;
|
|
|
+ int ret;
|
|
|
|
|
|
hdd_enter();
|
|
|
|
|
@@ -8883,6 +8884,14 @@ QDF_STATUS hdd_start_all_adapters(struct hdd_context *hdd_ctx)
|
|
|
case QDF_NAN_DISC_MODE:
|
|
|
|
|
|
hdd_start_station_adapter(adapter);
|
|
|
+
|
|
|
+ if (adapter->device_mode == QDF_STA_MODE) {
|
|
|
+ ret = hdd_start_link_adapter(adapter);
|
|
|
+ if (ret)
|
|
|
+ hdd_err("[SSR] Failed to start link adapter:%d",
|
|
|
+ ret);
|
|
|
+ }
|
|
|
+
|
|
|
/* Open the gates for HDD to receive Wext commands */
|
|
|
adapter->is_link_up_service_needed = false;
|
|
|
|