Searched refs:nmodes (Results 1 – 2 of 2) sorted by relevance
2169 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_nl80211_postprocess_modes() local2231 nmodes = os_realloc_array(modes, *num_modes + 1, sizeof(*nmodes)); in wpa_driver_nl80211_postprocess_modes()2232 if (nmodes == NULL) in wpa_driver_nl80211_postprocess_modes()2235 mode = &nmodes[*num_modes]; in wpa_driver_nl80211_postprocess_modes()2238 modes = nmodes; in wpa_driver_nl80211_postprocess_modes()
1013 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_wpa_supp_postprocess_modes() local1047 nmodes = os_realloc_array(modes, *num_modes + 1, sizeof(*nmodes)); in wpa_driver_wpa_supp_postprocess_modes()1048 if (nmodes == NULL) in wpa_driver_wpa_supp_postprocess_modes()1051 mode = &nmodes[*num_modes]; in wpa_driver_wpa_supp_postprocess_modes()1054 modes = nmodes; in wpa_driver_wpa_supp_postprocess_modes()