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
commit7cb6d9f6a16b9223b6bfe7667b0f6a5a0aff6683 (patch)
tree24c330f8df1bc6684e7ba6ffa45ae4f45895665d /package/hostapd/patches
parent1fc4820680ecf808d900c0a63610059ee324e38b (diff)
downloadupstream-7cb6d9f6a16b9223b6bfe7667b0f6a5a0aff6683.tar.gz
upstream-7cb6d9f6a16b9223b6bfe7667b0f6a5a0aff6683.tar.bz2
upstream-7cb6d9f6a16b9223b6bfe7667b0f6a5a0aff6683.zip
allow hostapd to continue, even if setting the country code fails
SVN-Revision: 14287
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 &&