Commit 90c10765 authored by MAACHE Mehdi's avatar MAACHE Mehdi Committed by Greg Kroah-Hartman

Staging: rtl8187se: remove check for IW_ENCODE_DISABLED

The original code had a no-op stub where it checked if
IW_ENCODE_DISABLED and did nothing.  Then in a cleanup patch we
accidentally turned the check on.  That was: de171bd6 "Staging:
rtl8187se: r8180_wx: fixed a lot of checkpatch.pl issues".

The check should just be removed.
Signed-off-by: default avatarMehdi MAACHE <mehdi.maache@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 167989ba
......@@ -59,8 +59,6 @@ int r8180_wx_set_key(struct net_device *dev, struct iw_request_info *info,
if (priv->ieee80211->bHwRadioOff)
return 0;
if (erq->flags & IW_ENCODE_DISABLED)
if (erq->length > 0) {
u32* tkey = (u32*) key;
priv->key0[0] = tkey[0];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment