From 176cbd50ea380af4a0fb86c481d6f118dd1b6ece Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 30 Jan 2009 19:33:09 +0000 Subject: [PATCH] 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 --- package/hostapd/patches/120-countrycode.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/hostapd/patches/120-countrycode.patch 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 && -- 2.20.1