From: Jouni Malinen Date: Sun, 7 Sep 2014 15:40:05 +0000 (+0300) Subject: Fix hostapd GET_CONFIG wpa_pairwise_cipher value X-Git-Tag: hostap_2_3~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10e7948f7689a46f54cd24dcc01e675048ee3109;p=thirdparty%2Fhostap.git 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 --- 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;