|
@@ -2404,7 +2404,7 @@ int wlan_hdd_ll_stats_get(struct hdd_adapter *adapter, uint32_t req_id,
|
|
|
return -EPERM;
|
|
|
}
|
|
|
|
|
|
- if (hdd_cm_is_vdev_roaming(adapter)) {
|
|
|
+ if (hdd_cm_is_vdev_roaming(adapter->deflink)) {
|
|
|
hdd_err("Roaming in progress, cannot process the request");
|
|
|
return -EBUSY;
|
|
|
}
|
|
@@ -2469,7 +2469,7 @@ __wlan_hdd_cfg80211_ll_stats_get(struct wiphy *wiphy,
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
- if (hdd_cm_is_vdev_roaming(adapter)) {
|
|
|
+ if (hdd_cm_is_vdev_roaming(adapter->deflink)) {
|
|
|
hdd_err("Roaming in progress, cannot process the request");
|
|
|
return -EBUSY;
|
|
|
}
|
|
@@ -6541,7 +6541,7 @@ static int wlan_hdd_get_sta_stats(struct hdd_adapter *adapter,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
- if (hdd_cm_is_vdev_roaming(adapter)) {
|
|
|
+ if (hdd_cm_is_vdev_roaming(adapter->deflink)) {
|
|
|
hdd_debug("Roaming is in progress, cannot continue with this request");
|
|
|
/*
|
|
|
* supplicant reports very low rssi to upper layer
|
|
@@ -7034,7 +7034,7 @@ static int __wlan_hdd_cfg80211_dump_survey(struct wiphy *wiphy,
|
|
|
if (!ucfg_scan_is_snr_monitor_enabled(hdd_ctx->psoc))
|
|
|
return -ENONET;
|
|
|
|
|
|
- if (hdd_cm_is_vdev_roaming(adapter)) {
|
|
|
+ if (hdd_cm_is_vdev_roaming(adapter->deflink)) {
|
|
|
hdd_debug("Roaming in progress, hence return");
|
|
|
return -ENONET;
|
|
|
}
|
|
@@ -7127,7 +7127,7 @@ static bool hdd_is_rcpi_applicable(struct hdd_adapter *adapter,
|
|
|
if (!hdd_cm_is_vdev_associated(adapter->deflink))
|
|
|
return false;
|
|
|
|
|
|
- if (hdd_cm_is_vdev_roaming(adapter)) {
|
|
|
+ if (hdd_cm_is_vdev_roaming(adapter->deflink)) {
|
|
|
/* return the cached rcpi, if mac addr matches */
|
|
|
hdd_debug("Roaming in progress, return cached RCPI");
|
|
|
if (!qdf_mem_cmp(&adapter->rcpi.mac_addr,
|
|
@@ -7384,7 +7384,7 @@ QDF_STATUS wlan_hdd_get_rssi(struct hdd_adapter *adapter, int8_t *rssi_value)
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
- if (hdd_cm_is_vdev_roaming(adapter)) {
|
|
|
+ if (hdd_cm_is_vdev_roaming(adapter->deflink)) {
|
|
|
hdd_debug("Roaming in progress, return cached RSSI");
|
|
|
*rssi_value = adapter->deflink->rssi;
|
|
|
return QDF_STATUS_SUCCESS;
|