]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Dump driver_flags2 in debug prints
authorGokul Sivakumar <gokulkumar.sivakumar@infineon.com>
Wed, 26 Apr 2023 10:45:56 +0000 (16:15 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 6 Nov 2023 13:15:41 +0000 (15:15 +0200)
This was already done for driver_flags, but the newer driver_flags2 was
not covered here.

Signed-off-by: Gokul Sivakumar <gokulkumar.sivakumar@infineon.com>
src/drivers/driver_nl80211_capa.c

index 84b24e654ac85b21f48b7e7771986c34b49d7bd6..b7d914140c660ef913939e93e56111380e4da0b7 100644 (file)
@@ -1567,9 +1567,10 @@ int wpa_driver_nl80211_capa(struct wpa_driver_nl80211_data *drv)
 #endif /* CONFIG_DRIVER_NL80211_QCA */
 
        wpa_printf(MSG_DEBUG,
-                  "nl80211: key_mgmt=0x%x enc=0x%x auth=0x%x flags=0x%llx rrm_flags=0x%x probe_resp_offloads=0x%x max_stations=%u max_remain_on_chan=%u max_scan_ssids=%d",
+                  "nl80211: key_mgmt=0x%x enc=0x%x auth=0x%x flags=0x%llx flags2=0x%llx rrm_flags=0x%x probe_resp_offloads=0x%x max_stations=%u max_remain_on_chan=%u max_scan_ssids=%d",
                   drv->capa.key_mgmt, drv->capa.enc, drv->capa.auth,
-                  (unsigned long long) drv->capa.flags, drv->capa.rrm_flags,
+                  (unsigned long long) drv->capa.flags,
+                  (unsigned long long) drv->capa.flags2, drv->capa.rrm_flags,
                   drv->capa.probe_resp_offloads, drv->capa.max_stations,
                   drv->capa.max_remain_on_chan, drv->capa.max_scan_ssids);
        return 0;