aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/110-countrycode.patch
blob: 11cf06e847031cb13b91b190aea30c1106e63fb8 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
@@ -660,7 +660,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;
 		}
 	}