]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Remove an extra closing parenthesis from a debug message
authorJouni Malinen <jouni@codeaurora.org>
Mon, 17 Feb 2020 21:44:26 +0000 (23:44 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 17 Feb 2020 21:48:24 +0000 (23:48 +0200)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/drivers/driver_nl80211.c

index 37933ae9ae7e7b3f96c384b227ef460f49b5faa4..659f6584d4625d356897396bf24b53c041dac269 100644 (file)
@@ -3163,7 +3163,7 @@ static int wpa_driver_nl80211_set_key(struct i802_bss *bss,
        if ((ret == -ENOENT || ret == -ENOLINK) && alg == WPA_ALG_NONE)
                ret = 0;
        if (ret)
-               wpa_printf(MSG_DEBUG, "nl80211: set_key failed; err=%d %s)",
+               wpa_printf(MSG_DEBUG, "nl80211: set_key failed; err=%d %s",
                           ret, strerror(-ret));
 
        /*
@@ -3227,8 +3227,9 @@ static int wpa_driver_nl80211_set_key(struct i802_bss *bss,
        if (ret == -ENOENT)
                ret = 0;
        if (ret)
-               wpa_printf(MSG_DEBUG, "nl80211: set_key default failed; "
-                          "err=%d %s)", ret, strerror(-ret));
+               wpa_printf(MSG_DEBUG,
+                          "nl80211: set_key default failed; err=%d %s",
+                          ret, strerror(-ret));
        return ret;
 
 fail: