From c6a241745943aba2b86b9dae3258e60f4c6635a8 Mon Sep 17 00:00:00 2001 From: David Kilroy Date: Sat, 1 Oct 2011 09:43:50 +0100 Subject: [PATCH] staging: wlags49_h2: Remove bad debug message The message is in the wrong place. We definitely don't want to return at this point, as we may need to turn off encryption. Reported-by: Henk de Groot Signed-off-by: David Kiroy Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wlags49_h2/wl_wext.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wlags49_h2/wl_wext.c b/drivers/staging/wlags49_h2/wl_wext.c index 764a3208afda..89563dadddcd 100644 --- a/drivers/staging/wlags49_h2/wl_wext.c +++ b/drivers/staging/wlags49_h2/wl_wext.c @@ -1214,7 +1214,6 @@ static int wireless_set_encode(struct net_device *dev, struct iw_request_info *i lp->EnableEncryption = 1; } else { DBG_WARNING( DbgInfo, "Problem setting the current TxKey\n" ); - DBG_LEAVE( DbgInfo ); ret = -EINVAL; } } -- 2.11.0