Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235972
b: refs/heads/master
c: 4bbedb2
h: refs/heads/master
v: v3
  • Loading branch information
Mike McCormack authored and Greg Kroah-Hartman committed Feb 18, 2011
1 parent 95fcdbd commit 0ae1d66
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 539874106471819d4b6e52d06e14a0c3b0770a3b
refs/heads/master: 4bbedb27d24e1f262ef3234f3faee5af0831ddb1
1 change: 0 additions & 1 deletion trunk/drivers/staging/rtl8192e/r8192E.h
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,6 @@ typedef struct r8192_priv
LED_STRATEGY_8190 LedStrategy;
u8 IC_Cut;
int irq;
short irq_enabled;
struct ieee80211_device *ieee80211;
#ifdef ENABLE_LPS
bool ps_force;
Expand Down
8 changes: 1 addition & 7 deletions trunk/drivers/staging/rtl8192e/r8192E_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,6 @@ static void tx_timeout(struct net_device *dev)
static void rtl8192_irq_enable(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
priv->irq_enabled = 1;
write_nic_dword(priv, INTA_MASK, priv->irq_mask);
}

Expand All @@ -667,7 +666,7 @@ void rtl8192_irq_disable(struct net_device *dev)
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);

write_nic_dword(priv, INTA_MASK, 0);
priv->irq_enabled = 0;
synchronize_irq(dev->irq);
}

void rtl8192_update_msr(struct net_device *dev)
Expand Down Expand Up @@ -2003,7 +2002,6 @@ static void rtl8192_init_priv_variable(struct net_device* dev)
priv->txringcount = 64;//32;
priv->rxbuffersize = 9100;//2048;//1024;
priv->rxringcount = MAX_RX_COUNT;//64;
priv->irq_enabled=0;
priv->rx_skb_complete = 1;
priv->chan = 1; //set to channel 1
priv->RegWirelessMode = WIRELESS_MODE_AUTO;
Expand Down Expand Up @@ -5346,10 +5344,6 @@ static irqreturn_t rtl8192_interrupt(int irq, void *netdev)

spin_lock_irqsave(&priv->irq_th_lock, flags);

/* We should return IRQ_NONE, but for now let me keep this */
if (priv->irq_enabled == 0)
goto out_unlock;

/* ISR: 4bytes */

inta = read_nic_dword(priv, ISR); /* & priv->IntrMask; */
Expand Down

0 comments on commit 0ae1d66

Please sign in to comment.