aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/110-countrycode.patch
blob: 083de89c14346ca16cca304fa6b72b9ef837b622 (plain)
1
2
3
4
5
6
7
8
9
10
--- 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;
 		}
 	}