From a05225c8196e7f38b99b587705cc21b8bf5339da Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 9 Aug 2011 13:59:12 +0300 Subject: [PATCH] nl80211: Add more debug information on frame TX command failures --- src/drivers/driver_nl80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 87d474ed5..41b718d78 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -6196,7 +6196,8 @@ static int nl80211_send_frame_cmd(struct wpa_driver_nl80211_data *drv, msg = NULL; if (ret) { 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; } wpa_printf(MSG_DEBUG, "nl80211: Frame TX command accepted; "