allow hostapd to continue, even if setting the country code fails
[openwrt/svn-archive/archive.git] / package / hostapd / patches / 120-countrycode.patch
1 --- a/hostapd/hostapd.c
2 +++ b/hostapd/hostapd.c
3 @@ -1535,7 +1535,6 @@ static int setup_interface(struct hostap
4 hostapd_set_ieee80211d(hapd, 1) < 0) {
5 printf("Failed to set ieee80211d (%d)\n",
6 hapd->iconf->ieee80211d);
7 - return -1;
8 }
9
10 if (hapd->iconf->bridge_packets != INTERNAL_BRIDGE_DO_NOT_CONTROL &&