From: Malcolm Priestley Date: Sun, 21 Jun 2015 10:05:54 +0000 (+0100) Subject: staging: vt6655: vnt_tx_packet don't wakeup from power saving. X-Git-Tag: firefly_0821_release~176^2~1221^2~649 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4fdae0d9fee32c1cbffffb1a246fcc10ed5b1085;p=firefly-linux-kernel-4.4.55.git staging: vt6655: vnt_tx_packet don't wakeup from power saving. mac80211 changes the wake state before attempting to tx data Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index ed040fbb7df8..0176456d15e2 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1211,9 +1211,6 @@ static int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb) vnt_generate_fifo_header(priv, dma_idx, head_td, skb); - if (MACbIsRegBitsOn(priv->PortOffset, MAC_REG_PSCTL, PSCTL_PS)) - MACbPSWakeup(priv->PortOffset); - spin_lock_irqsave(&priv->lock, flags); priv->bPWBitOn = false;