diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 10824450579b..8663fc44b3c3 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -18551,6 +18551,10 @@ static QDF_STATUS hdd_is_connection_in_progress_iterator( hdd_put_sta_info_ref( &adapter->sta_info_list, &sta_info, true, STA_INFO_CONNECTION_IN_PROGRESS_ITERATOR); + if (tmp) + hdd_put_sta_info_ref( + &adapter->sta_info_list, &tmp, true, + STA_INFO_CONNECTION_IN_PROGRESS_ITERATOR); return QDF_STATUS_E_ABORTED; }