mirror of https://gitee.com/openkylin/linux.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 <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
943304b3fb
commit
4fdae0d9fe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue