]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Show remain-on-channel duration in debug output
authorJouni Malinen <jouni.malinen@atheros.com>
Sun, 18 Jul 2010 21:30:24 +0000 (14:30 -0700)
committerJouni Malinen <j@w1.fi>
Wed, 11 Aug 2010 15:02:19 +0000 (18:02 +0300)
src/drivers/driver_nl80211.c

index 8b2c2795f0022bf1f76e5faa5923e2d24c81950d..802a1ee4c445b33722ccfc799d5d31c8c6958cc1 100644 (file)
@@ -5132,7 +5132,8 @@ static int wpa_driver_nl80211_remain_on_channel(void *priv, unsigned int freq,
                return 0;
        }
        wpa_printf(MSG_DEBUG, "nl80211: Failed to request remain-on-channel "
-                  "(freq=%d): %d (%s)", freq, ret, strerror(-ret));
+                  "(freq=%d duration=%u): %d (%s)",
+                  freq, duration, ret, strerror(-ret));
 nla_put_failure:
        return -1;
 }