Fix typos in wpa_supplicant configuration parameter documentation
[mech_eap.git] / hostapd / ctrl_iface.c
index 4e7b58e..5f3d6bd 100644 (file)
@@ -2040,6 +2040,9 @@ static int hostapd_ctrl_iface_track_sta_list(struct hostapd_data *hapd,
        struct hostapd_sta_info *info;
        struct os_reltime now;
 
+       if (!iface->num_sta_seen)
+               return 0;
+
        sta_track_expire(iface, 0);
 
        pos = buf;