summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-30 19:33:09 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-30 19:33:09 +0000
commit176cbd50ea380af4a0fb86c481d6f118dd1b6ece (patch)
tree0dcfaf307fdd88c25018db7977bbdfcf255c1a28
parentc1527e419dfb27952d17c2722c77759670ad3d00 (diff)
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
-rw-r--r--package/hostapd/patches/120-countrycode.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/hostapd/patches/120-countrycode.patch b/package/hostapd/patches/120-countrycode.patch
new file mode 100644
index 0000000000..b719544ada
--- /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 &&