summaryrefslogtreecommitdiff
path: root/drivers/staging/wlags49_h2
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2011-10-01 09:43:50 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-04 10:41:07 -0700
commitc6a241745943aba2b86b9dae3258e60f4c6635a8 (patch)
treec6aa57dfc44d6be0ffc809002dec5b896adc596b /drivers/staging/wlags49_h2
parent268b06ac8b3b16516cf926872d822836caf785cc (diff)
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 <pe1dnn@amsat.org> Signed-off-by: David Kiroy <kilroyd@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlags49_h2')
-rw-r--r--drivers/staging/wlags49_h2/wl_wext.c1
1 files changed, 0 insertions, 1 deletions
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;
}
}