Skip to content

Commit d2c81e0

Browse files
lategoodbyeZhengShunQian
authored andcommitted
net: qca_spi: Avoid packet drop during initial sync
[ Upstream commit b2bab42 ] As long as the synchronization with the QCA7000 isn't finished, we cannot accept packets from the upper layers. So let the SPI thread enable the TX queue after sync and avoid unwanted packet drop. Signed-off-by: Stefan Wahren <[email protected]> Fixes: 291ab06 ("net: qualcomm: new Ethernet over SPI driver for QCA7000") Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6ecd856 commit d2c81e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/qualcomm/qca_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ qcaspi_netdev_open(struct net_device *dev)
635635
return ret;
636636
}
637637

638-
netif_start_queue(qca->net_dev);
638+
/* SPI thread takes care of TX queue */
639639

640640
return 0;
641641
}

0 commit comments

Comments
 (0)