mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
nl80211: Add verbose result debugging for NL80211_CMD_NEW_STATION
This commit is contained in:
parent
b175bff0ce
commit
f72750896c
@ -854,6 +854,9 @@ static int i802_sta_add2(const char *ifname, void *priv,
|
||||
#endif /* CONFIG_IEEE80211N */
|
||||
|
||||
ret = send_and_recv_msgs(drv, msg, NULL, NULL);
|
||||
if (ret)
|
||||
wpa_printf(MSG_DEBUG, "nl80211: NL80211_CMD_NEW_STATION "
|
||||
"result: %d (%s)", ret, strerror(-ret));
|
||||
if (ret == -EEXIST)
|
||||
ret = 0;
|
||||
nla_put_failure:
|
||||
|
Loading…
Reference in New Issue
Block a user