From: David Kilroy Date: Sat, 1 Oct 2011 08:43:50 +0000 (+0100) Subject: staging: wlags49_h2: Remove bad debug message X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c6a241745943aba2b86b9dae3258e60f4c6635a8;p=mv-sheeva.git 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 --- diff --git a/drivers/staging/wlags49_h2/wl_wext.c b/drivers/staging/wlags49_h2/wl_wext.c index 764a3208afd..89563dadddc 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; } }