]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix hostapd GET_CONFIG wpa_pairwise_cipher value
authorJouni Malinen <j@w1.fi>
Sun, 7 Sep 2014 15:40:05 +0000 (18:40 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 7 Sep 2014 15:40:05 +0000 (18:40 +0300)
Copy-paste error ended up getting rsn_pairwise_cipher value for both
rsn_pairwise_cipher and wpa_pairwise_cipher (CID 72693).

Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/ctrl_iface.c

index 9ce78292e0df79f94358e7a90ac962ff04d4f87a..591c39575f4e472022a43e8f26327017b6f09189 100644 (file)
@@ -1010,7 +1010,7 @@ static int hostapd_ctrl_iface_get_config(struct hostapd_data *hapd,
                        return pos - buf;
                pos += ret;
 
-               ret = wpa_write_ciphers(pos, end, hapd->conf->rsn_pairwise,
+               ret = wpa_write_ciphers(pos, end, hapd->conf->wpa_pairwise,
                                        " ");
                if (ret < 0)
                        return pos - buf;