|
@@ -2410,7 +2410,9 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event,
|
|
|
(struct qdf_mac_addr *)
|
|
|
wrqu.addr.sa_data,
|
|
|
event);
|
|
|
- if (!QDF_IS_STATUS_SUCCESS(qdf_status))
|
|
|
+ if (QDF_IS_STATUS_SUCCESS(qdf_status))
|
|
|
+ hdd_fill_station_info(adapter, event);
|
|
|
+ else
|
|
|
hdd_err("Failed to register STA %d "
|
|
|
QDF_MAC_ADDR_FMT, qdf_status,
|
|
|
QDF_MAC_ADDR_REF(wrqu.addr.sa_data));
|
|
@@ -2454,7 +2456,9 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event,
|
|
|
(struct qdf_mac_addr *)
|
|
|
wrqu.addr.sa_data,
|
|
|
event);
|
|
|
- if (!QDF_IS_STATUS_SUCCESS(qdf_status))
|
|
|
+ if (QDF_IS_STATUS_SUCCESS(qdf_status))
|
|
|
+ hdd_fill_station_info(adapter, event);
|
|
|
+ else
|
|
|
hdd_err("Failed to register STA %d "
|
|
|
QDF_MAC_ADDR_FMT, qdf_status,
|
|
|
QDF_MAC_ADDR_REF(wrqu.addr.sa_data));
|
|
@@ -2493,8 +2497,6 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event,
|
|
|
}
|
|
|
|
|
|
sta_id = event->staId;
|
|
|
- if (QDF_IS_STATUS_SUCCESS(qdf_status))
|
|
|
- hdd_fill_station_info(adapter, event);
|
|
|
|
|
|
if (ucfg_ipa_is_enabled()) {
|
|
|
status = ucfg_ipa_wlan_evt(hdd_ctx->pdev,
|