Patchwork atheros: fix rsn capabilities debug print

login
register
mail settings
Submitter Baruch Siach
Date Aug. 29, 2012, 7:09 a.m.
Message ID <4dd8f1d1e83f2aa94e656b50c61d5f2e295bc4bb.1346224128.git.baruch@tkos.co.il>
Download mbox | patch
Permalink /patch/180636/
State Accepted
Commit ac947e2a8354c0e968c2219887a82e33400957c0
Headers show

Comments

Baruch Siach - Aug. 29, 2012, 7:09 a.m.
Signed-hostap: Baruch Siach <baruch@tkos.co.il>
---
 src/drivers/driver_atheros.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Jouni Malinen - Sept. 5, 2012, 4:03 p.m.
Thanks, applied.

Patch

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;