Browse Source

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>
Jouni Malinen 10 years ago
parent
commit
10e7948f76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hostapd/ctrl_iface.c

+ 1 - 1
hostapd/ctrl_iface.c

@@ -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;