]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix merge issue with IBSS VHT support
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Sat, 28 Feb 2015 14:48:22 +0000 (16:48 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 28 Feb 2015 14:48:22 +0000 (16:48 +0200)
Commit 563ee1832bf3256f64d76ecb231c5a986eb98a77 ('IBSS: Add support for
VHT80 configuration') got merged in incorrectly with one i/j swap
missed.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
wpa_supplicant/wpa_supplicant.c

index 05b785ea36eb51268a5d92889c9fc40f0bc9fa66..16f05c7d7595cf16dc3b0e645fae5432de55c80d 100644 (file)
@@ -1865,7 +1865,7 @@ void ibss_mesh_setup_freq(struct wpa_supplicant *wpa_s,
                                    vht_freq.vht_enabled,
                                    freq->sec_channel_offset,
                                    VHT_CHANWIDTH_80MHZ,
-                                   vht80[i] + 6, 0, 0) != 0)
+                                   vht80[j] + 6, 0, 0) != 0)
                return;
 
        *freq = vht_freq;