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