allow hostapd to continue, even if setting the country code fails
authorFelix Fietkau <nbd@openwrt.org>
Fri, 30 Jan 2009 19:33:09 +0000 (19:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 30 Jan 2009 19:33:09 +0000 (19:33 +0000)
SVN-Revision: 14287

package/hostapd/patches/120-countrycode.patch [new file with mode: 0644]

diff --git a/package/hostapd/patches/120-countrycode.patch b/package/hostapd/patches/120-countrycode.patch
new file mode 100644 (file)
index 0000000..b719544
--- /dev/null
@@ -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 &&