openwrtv4/package/hostapd/patches/110-countrycode.patch

11 lines
261 B
Diff
Raw Normal View History

--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
@@ -650,7 +650,6 @@ static int setup_interface(struct hostap
country[3] = '\0';
if (hostapd_set_country(hapd, country) < 0) {
wpa_printf(MSG_ERROR, "Failed to set country code");
- return -1;
}
}