From: Kalle Valo Date: Thu, 26 Nov 2009 08:55:55 +0000 (+0200) Subject: wl1251: remove false warning messages X-Git-Tag: v3.12-rc1~11349^2~278^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e84217a9fc6264fe4e73fc85cdfff185b71b7443;p=kernel%2Fkernel-generic.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c index ff4be7b..8353139 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; } }