]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
atheros: Fix RSN capabilities debug print
authorBaruch Siach <baruch@tkos.co.il>
Wed, 5 Sep 2012 16:01:11 +0000 (19:01 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 5 Sep 2012 16:01:11 +0000 (19:01 +0300)
Signed-hostap: Baruch Siach <baruch@tkos.co.il>

src/drivers/driver_atheros.c

index fefae8c373b42bd50d8dda551eaf21ec333b91e5..5f2e675b712ed2895f6590a95c52269b4272e0eb 100644 (file)
@@ -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;