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 <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-09-07 18:40:05 +03:00
parent 3a413e0ed8
commit 10e7948f76

View file

@ -1010,7 +1010,7 @@ static int hostapd_ctrl_iface_get_config(struct hostapd_data *hapd,
return pos - buf; return pos - buf;
pos += ret; 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) if (ret < 0)
return pos - buf; return pos - buf;