From: nbd Date: Fri, 30 Jan 2009 19:33:09 +0000 (+0000) Subject: allow hostapd to continue, even if setting the country code fails X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=176cbd50ea380af4a0fb86c481d6f118dd1b6ece;p=openwrt-10.03%2F.git allow hostapd to continue, even if setting the country code fails git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14287 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/hostapd/patches/120-countrycode.patch b/package/hostapd/patches/120-countrycode.patch new file mode 100644 index 000000000..b719544ad --- /dev/null +++ b/package/hostapd/patches/120-countrycode.patch @@ -0,0 +1,10 @@ +--- a/hostapd/hostapd.c ++++ b/hostapd/hostapd.c +@@ -1535,7 +1535,6 @@ static int setup_interface(struct hostap + hostapd_set_ieee80211d(hapd, 1) < 0) { + printf("Failed to set ieee80211d (%d)\n", + hapd->iconf->ieee80211d); +- return -1; + } + + if (hapd->iconf->bridge_packets != INTERNAL_BRIDGE_DO_NOT_CONTROL &&