[PATCH v6a 1/7] Fixes for hostapd: Set the correct key_type for key installs

Alexander Wetzel alexander at wetzel-home.de
Sat Sep 28 11:18:01 PDT 2019

This is a correction on top of:
 [PATCH v6 05/17] hostapd: Set the correct key_type for key installs

 - Change one wrong key_types to the correct one

The original commit message also is wrong. It should be:

In addition to the set_tx boolean this also sets the corresponding
new variable key_type for all key installs.

Till set_tx is dropped drivers can use either set_tx or key_type,
allowing a seamless migration to key_type.

Signed-off-by: Alexander Wetzel <alexander at wetzel-home.de>
 src/ap/ieee802_1x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ap/ieee802_1x.c b/src/ap/ieee802_1x.c
index b45eef94b..2f2099dc7 100644
--- a/src/ap/ieee802_1x.c
+++ b/src/ap/ieee802_1x.c
@@ -286,7 +286,7 @@ static void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta)
 		if (hostapd_drv_set_key(hapd->conf->iface, hapd, WPA_ALG_WEP,
 					sta->addr, 0, NULL, 0, ikey,
 				   "Could not set individual WEP encryption");

More information about the Hostap mailing list