mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
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:
parent
268b06ac8b
commit
c6a2417459
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user