aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-30 19:33:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-30 19:33:09 +0000
commit03c903a32559eecd0afebc90fd037d760f937fb8 (patch)
tree0dcfaf307fdd88c25018db7977bbdfcf255c1a28 /package/hostapd/patches
parentfdfa35576865b9a8ebd35f6edf60d3f36e85d055 (diff)
downloadupstream-03c903a32559eecd0afebc90fd037d760f937fb8.tar.gz
upstream-03c903a32559eecd0afebc90fd037d760f937fb8.tar.bz2
upstream-03c903a32559eecd0afebc90fd037d760f937fb8.zip
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
Diffstat (limited to 'package/hostapd/patches')
-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 &&