7c9d0219d96c15d25370ff7e927fdac096329fec
[openwrt.git] / package / hostapd / patches / 110-countrycode.patch
1 --- a/hostapd/hostapd.c
2 +++ b/hostapd/hostapd.c
3 @@ -1344,10 +1344,8 @@ static int setup_interface(struct hostap
4 if (hapd->iconf->country[0] && hapd->iconf->country[1]) {
5 os_memcpy(country, hapd->iconf->country, 3);
6 country[3] = '\0';
7 - if (hostapd_set_country(hapd, country) < 0) {
8 + if (hostapd_set_country(hapd, country) < 0)
9 wpa_printf(MSG_ERROR, "Failed to set country code");
10 - return -1;
11 - }
12 }
13
14 if (hapd->iconf->bridge_packets != INTERNAL_BRIDGE_DO_NOT_CONTROL &&
This page took 0.045968 seconds and 3 git commands to generate.