wl1251: remove false warning messages
authorKalle Valo <kalle.valo@nokia.com>
Thu, 26 Nov 2009 08:55:55 +0000 (10:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Dec 2009 21:50:12 +0000 (16:50 -0500)
There was a warning from wl1251_op_bss_info_changed():

wl1251: WARNING Set ctsprotect failed 0

It was printed always, it's completely false and can be removed.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_main.c

index ff4be7bf5d360f8223a7cc3fad7b383fdb75d191..8353139d85df9e5096876444372746e1c3f49fb0 100644 (file)
@@ -1181,8 +1181,6 @@ static void wl1251_op_bss_info_changed(struct ieee80211_hw *hw,
                                          wl->beacon_int, wl->dtim_period);
                        if (ret < 0)
                                goto out_sleep;
-                       wl1251_warning("Set ctsprotect failed %d", ret);
-                       goto out_sleep;
                }
        }