[PATCH] atheros: fix rsn capabilities debug print

Baruch Siach baruch
Wed Aug 29 00:09:43 PDT 2012


Signed-hostap: Baruch Siach <baruch at tkos.co.il>
---
 src/drivers/driver_atheros.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index fefae8c..5f2e675 100644
--- a/src/drivers/driver_atheros.c
+++ b/src/drivers/driver_atheros.c
@@ -324,8 +324,7 @@ atheros_configure_wpa(struct atheros_driver_data *drv,
 	}
 #endif /* CONFIG_IEEE80211W */
 
-	wpa_printf(MSG_DEBUG, "%s: rsn capabilities=0x%x",
-		   __func__, params->rsn_preauth);
+	wpa_printf(MSG_DEBUG, "%s: rsn capabilities=0x%x", __func__, v);
 	if (set80211param(drv, IEEE80211_PARAM_RSNCAPS, v)) {
 		printf("Unable to set RSN capabilities to 0x%x\n", v);
 		return -1;
-- 
1.7.10.4




More information about the Hostap mailing list