Skip to content

Commit

Permalink
Staging: rtl8187se: remove check for IW_ENCODE_DISABLED
Browse files Browse the repository at this point in the history
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: de171bd "Staging:
rtl8187se: r8180_wx: fixed a lot of checkpatch.pl issues".

The check should just be removed.

Signed-off-by: Mehdi MAACHE <mehdi.maache@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
MAACHE Mehdi authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 167989b commit 90c1076
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/rtl8187se/r8180_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 90c1076

Please sign in to comment.