nl80211: Add more debug information on frame TX command failures
This commit is contained in:
parent
e9ae405907
commit
a05225c819
1 changed files with 2 additions and 1 deletions
|
@ -6196,7 +6196,8 @@ static int nl80211_send_frame_cmd(struct wpa_driver_nl80211_data *drv,
|
||||||
msg = NULL;
|
msg = NULL;
|
||||||
if (ret) {
|
if (ret) {
|
||||||
wpa_printf(MSG_DEBUG, "nl80211: Frame command failed: ret=%d "
|
wpa_printf(MSG_DEBUG, "nl80211: Frame command failed: ret=%d "
|
||||||
"(%s)", ret, strerror(-ret));
|
"(%s) (freq=%u wait=%u)", ret, strerror(-ret),
|
||||||
|
freq, wait);
|
||||||
goto nla_put_failure;
|
goto nla_put_failure;
|
||||||
}
|
}
|
||||||
wpa_printf(MSG_DEBUG, "nl80211: Frame TX command accepted; "
|
wpa_printf(MSG_DEBUG, "nl80211: Frame TX command accepted; "
|
||||||
|
|
Loading…
Reference in a new issue