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 ff4be7b..8353139 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;
                }
        }