Commit 69eb976b authored by Chaitanya Hazarey's avatar Chaitanya Hazarey Committed by Greg Kroah-Hartman

Staging: rtl8192u: r8192U_wx.c Removed some more commented out dead code

Removed dead code from the file.
Signed-off-by: default avatarChaitanya Hazarey <c@24.io>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c284e1da
...@@ -516,12 +516,9 @@ static int r8192_wx_set_enc(struct net_device *dev, ...@@ -516,12 +516,9 @@ static int r8192_wx_set_enc(struct net_device *dev,
struct r8192_priv *priv = ieee80211_priv(dev); struct r8192_priv *priv = ieee80211_priv(dev);
struct ieee80211_device *ieee = priv->ieee80211; struct ieee80211_device *ieee = priv->ieee80211;
int ret; int ret;
/* u32 TargetContent; */
u32 hwkey[4] = {0, 0, 0, 0}; u32 hwkey[4] = {0, 0, 0, 0};
u8 mask = 0xff; u8 mask = 0xff;
u32 key_idx = 0; u32 key_idx = 0;
/* u8 broadcast_addr[6] ={ 0xff,0xff,0xff,0xff,0xff,0xff}; */
u8 zero_addr[4][6] = { {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, u8 zero_addr[4][6] = { {0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
...@@ -667,14 +664,6 @@ static int r8192_wx_set_retry(struct net_device *dev, ...@@ -667,14 +664,6 @@ static int r8192_wx_set_retry(struct net_device *dev,
*/ */
rtl8192_commit(dev); rtl8192_commit(dev);
/*
if(priv->up){
rtl8180_rtx_disable(dev);
rtl8180_rx_enable(dev);
rtl8180_tx_enable(dev);
}
*/
exit: exit:
up(&priv->wx_sem); up(&priv->wx_sem);
...@@ -953,14 +942,9 @@ static const struct iw_priv_args r8192_private_args[] = { ...@@ -953,14 +942,9 @@ static const struct iw_priv_args r8192_private_args[] = {
static iw_handler r8192_private_handler[] = { static iw_handler r8192_private_handler[] = {
/* r8192_wx_set_monitor, */ /* SIOCIWFIRSTPRIV */ r8192_wx_set_crcmon,
r8192_wx_set_crcmon, /*SIOCIWSECONDPRIV*/
/* r8192_wx_set_forceassociate, */
/* r8192_wx_set_beaconinterval, */
/* r8192_wx_set_monitor_type, */
r8192_wx_set_scan_type, r8192_wx_set_scan_type,
r8192_wx_set_rawtx, r8192_wx_set_rawtx,
/* r8192_wx_null, */
r8192_wx_force_reset, r8192_wx_force_reset,
}; };
......
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