3 @@ -974,11 +974,8 @@ int hostapd_setup_interface_complete(str
8 - wpa_printf(MSG_ERROR, "Interface initialization failed");
15 wpa_printf(MSG_DEBUG, "Completing interface initialization");
16 if (hapd->iconf->channel) {
17 @@ -998,7 +995,7 @@ int hostapd_setup_interface_complete(str
18 hapd->iconf->vht_oper_centr_freq_seg1_idx)) {
19 wpa_printf(MSG_ERROR, "Could not set channel for "
26 @@ -1009,7 +1006,7 @@ int hostapd_setup_interface_complete(str
27 hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211,
28 HOSTAPD_LEVEL_WARNING,
29 "Failed to prepare rates table.");
35 @@ -1017,14 +1014,14 @@ int hostapd_setup_interface_complete(str
36 hostapd_set_rts(hapd, hapd->iconf->rts_threshold)) {
37 wpa_printf(MSG_ERROR, "Could not set RTS threshold for "
43 if (hapd->iconf->fragm_threshold > -1 &&
44 hostapd_set_frag(hapd, hapd->iconf->fragm_threshold)) {
45 wpa_printf(MSG_ERROR, "Could not set fragmentation threshold "
51 prev_addr = hapd->own_addr;
52 @@ -1034,7 +1031,7 @@ int hostapd_setup_interface_complete(str
54 os_memcpy(hapd->own_addr, prev_addr, ETH_ALEN);
55 if (hostapd_setup_bss(hapd, j == 0))
58 if (hostapd_mac_comp_empty(hapd->conf->bssid) == 0)
59 prev_addr = hapd->own_addr;
61 @@ -1048,7 +1045,7 @@ int hostapd_setup_interface_complete(str
62 if (hostapd_driver_commit(hapd) < 0) {
63 wpa_printf(MSG_ERROR, "%s: Failed to commit driver "
64 "configuration", __func__);
70 @@ -1069,6 +1066,11 @@ int hostapd_setup_interface_complete(str
71 iface->bss[0]->conf->iface);
76 + wpa_printf(MSG_ERROR, "Interface initialization failed");