]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Add debug print for channel changes
authorJouni Malinen <j@w1.fi>
Sat, 15 Oct 2011 10:29:56 +0000 (13:29 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 15 Oct 2011 10:29:56 +0000 (13:29 +0300)
src/drivers/driver_nl80211.c

index 42dec8d8b32c66e0d6526ad969dd15675db3bc1e..7df32671479d69b19516b0851433d75ee367d745 100644 (file)
@@ -4123,6 +4123,9 @@ static int wpa_driver_nl80211_set_freq(struct wpa_driver_nl80211_data *drv,
        struct nl_msg *msg;
        int ret;
 
+       wpa_printf(MSG_DEBUG, "nl80211: Set freq %d (ht_enabled=%d "
+                  "sec_channel_offset=%d)",
+                  freq, ht_enabled, sec_channel_offset);
        msg = nlmsg_alloc();
        if (!msg)
                return -1;