From 10e7948f7689a46f54cd24dcc01e675048ee3109 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 7 Sep 2014 18:40:05 +0300 Subject: [PATCH] Fix hostapd GET_CONFIG wpa_pairwise_cipher value 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 --- hostapd/ctrl_iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c index 9ce78292e..591c39575 100644 --- a/hostapd/ctrl_iface.c +++ b/hostapd/ctrl_iface.c @@ -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;