]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Add more debug information on frame TX command failures
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 9 Aug 2011 10:59:12 +0000 (13:59 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 9 Aug 2011 10:59:12 +0000 (13:59 +0300)
src/drivers/driver_nl80211.c

index 87d474ed583503b4d895eabc19ac42bbc1865ece..41b718d785acd088d5c332ccbf1723b689aab448 100644 (file)
@@ -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; "