mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-26 13:49:35 -05:00
nl80211: Print interface name on set_key()
Sometimes an interface name that cannot be resolved is given to the set_key function, so print the ifname in addition to the ifidx. Signed-hostap: Michael Braun <michael-dev@fami-braun.de>
This commit is contained in:
parent
80ebfd9527
commit
8393e1a024
@ -4679,9 +4679,9 @@ static int wpa_driver_nl80211_set_key(const char *ifname, struct i802_bss *bss,
|
|||||||
struct nl_msg *msg;
|
struct nl_msg *msg;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
wpa_printf(MSG_DEBUG, "%s: ifindex=%d alg=%d addr=%p key_idx=%d "
|
wpa_printf(MSG_DEBUG, "%s: ifindex=%d (%s) alg=%d addr=%p key_idx=%d "
|
||||||
"set_tx=%d seq_len=%lu key_len=%lu",
|
"set_tx=%d seq_len=%lu key_len=%lu",
|
||||||
__func__, ifindex, alg, addr, key_idx, set_tx,
|
__func__, ifindex, ifname, alg, addr, key_idx, set_tx,
|
||||||
(unsigned long) seq_len, (unsigned long) key_len);
|
(unsigned long) seq_len, (unsigned long) key_len);
|
||||||
#ifdef CONFIG_TDLS
|
#ifdef CONFIG_TDLS
|
||||||
if (key_idx == -1)
|
if (key_idx == -1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user