Searched refs:nmodes (Results 1 – 2 of 2) sorted by relevance
555 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_wpa_supp_postprocess_modes() local589 nmodes = os_realloc_array(modes, *num_modes + 1, sizeof(*nmodes)); in wpa_driver_wpa_supp_postprocess_modes()590 if (nmodes == NULL) in wpa_driver_wpa_supp_postprocess_modes()593 mode = &nmodes[*num_modes]; in wpa_driver_wpa_supp_postprocess_modes()596 modes = nmodes; in wpa_driver_wpa_supp_postprocess_modes()
1991 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_nl80211_postprocess_modes() local2046 nmodes = os_realloc_array(modes, *num_modes + 1, sizeof(*nmodes)); in wpa_driver_nl80211_postprocess_modes()2047 if (nmodes == NULL) in wpa_driver_nl80211_postprocess_modes()2050 mode = &nmodes[*num_modes]; in wpa_driver_nl80211_postprocess_modes()2053 modes = nmodes; in wpa_driver_nl80211_postprocess_modes()