aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-04-10 08:31:26 +0000
committerJohn Crispin <blogic@openwrt.org>2015-04-10 08:31:26 +0000
commit4c367eb6ba157c4f0d6dd4494db8484b497e773d (patch)
treeb2a2be797c4b671501680efd6476cc580c8300ad /package/network/services
parent927fd29673f411b56dfd27fe81d82382e715d81d (diff)
downloadmaster-187ad058-4c367eb6ba157c4f0d6dd4494db8484b497e773d.tar.gz
master-187ad058-4c367eb6ba157c4f0d6dd4494db8484b497e773d.tar.bz2
master-187ad058-4c367eb6ba157c4f0d6dd4494db8484b497e773d.zip
hostapd: remove unused asprintf parameter
r45270 removed ieee80211n=%d from the format string but didn't remove the parameter itself. Though this probably doesn't cause any harm, it's quite confusing and unneeded. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45351 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/hostapd/patches/370-ap_sta_support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/patches/370-ap_sta_support.patch b/package/network/services/hostapd/patches/370-ap_sta_support.patch
index cf13a96f0c..993caf4149 100644
--- a/package/network/services/hostapd/patches/370-ap_sta_support.patch
+++ b/package/network/services/hostapd/patches/370-ap_sta_support.patch
@@ -85,7 +85,7 @@
+
+ hw_mode = ieee80211_freq_to_chan(bss->freq, &channel);
+ if (asprintf(&cmd, "UPDATE channel=%d sec_chan=%d hw_mode=%d",
-+ channel, sec_chan, hw_mode, !!bss->ht_capab) < 0)
++ channel, sec_chan, hw_mode) < 0)
+ return -1;
+
+ ret = wpa_ctrl_request(wpa_s->hostapd, cmd, os_strlen(cmd), buf, &len, NULL);