nl80211: Print debug info on STA flag changes
This makes it easier to follow how kernel STA flags are managed. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
17e2091279
commit
0cd9846c63
1 changed files with 5 additions and 0 deletions
|
@ -8503,6 +8503,11 @@ static int wpa_driver_nl80211_sta_set_flags(void *priv, const u8 *addr,
|
||||||
struct nlattr *flags;
|
struct nlattr *flags;
|
||||||
struct nl80211_sta_flag_update upd;
|
struct nl80211_sta_flag_update upd;
|
||||||
|
|
||||||
|
wpa_printf(MSG_DEBUG, "nl80211: Set STA flags - ifname=%s addr=" MACSTR
|
||||||
|
" total_flags=0x%x flags_or=0x%x flags_and=0x%x authorized=%d",
|
||||||
|
bss->ifname, MAC2STR(addr), total_flags, flags_or, flags_and,
|
||||||
|
!!(total_flags & WPA_STA_AUTHORIZED));
|
||||||
|
|
||||||
msg = nlmsg_alloc();
|
msg = nlmsg_alloc();
|
||||||
if (!msg)
|
if (!msg)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
Loading…
Reference in a new issue