summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-11-26 10:55:55 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-12-07 16:50:12 -0500
commite84217a9fc6264fe4e73fc85cdfff185b71b7443 (patch)
treed28a1007ca2d2c3577a9660d0fb666b23c416614
parent9b1cb21c36b39057ec28a8b551f301449e5c51bb (diff)
wl1251: remove false warning messages
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>
-rw-r--r--drivers/net/wireless/wl12xx/wl1251_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c
index ff4be7bf5d3..8353139d85d 100644
--- a/drivers/net/wireless/wl12xx/wl1251_main.c
+++ b/drivers/net/wireless/wl12xx/wl1251_main.c
@@ -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;
}
}