nl80211: Add more debug information on frame TX command failures

This commit is contained in:
Jouni Malinen 2011-08-09 13:59:12 +03:00 committed by Jouni Malinen
parent e9ae405907
commit a05225c819

View file

@ -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; "