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>
This commit is contained in:
David Kilroy 2011-10-01 09:43:50 +01:00 committed by Greg Kroah-Hartman
parent 268b06ac8b
commit c6a2417459

View file

@ -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;
}
}