Skip to contentSkip to conversation

Staging: rtl8187se: remove check for IW_ENCODE_DISABLED

PATCH New MAACHE Mehdi 1 participant 1 message Nov 21, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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: de171bd6ff "Staging:
rtl8187se: r8180_wx: fixed a lot of checkpatch.pl issues".

The check should just be removed.

---
 drivers/staging/rtl8187se/r8180_wx.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/staging/rtl8187se/r8180_wx.c +0 -2
index 52f63d7..156b758 100644
@@ -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];
Signature · 1 line
1.7.1