Skip to content

Commit ea2325b

Browse files
jmbergKalle Valo
authored andcommitted
mwifiex: set netif carrier off in ndo_open
This patch adds fix to set carrier state off during ndo_open. Carrier should be set to ON when device is ready to send data. In case of station/adhoc interface device is able to transfer data after successful association/join operation. For AP this would be after bss_active event. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Avinash Patil <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent c5ed1df commit ea2325b

File tree

1 file changed

+2
-1
lines changed
  • drivers/net/wireless/mwifiex

1 file changed

+2
-1
lines changed

drivers/net/wireless/mwifiex/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,8 @@ static int mwifiex_init_hw_fw(struct mwifiex_adapter *adapter)
562562
static int
563563
mwifiex_open(struct net_device *dev)
564564
{
565-
netif_tx_start_all_queues(dev);
565+
netif_carrier_off(dev);
566+
566567
return 0;
567568
}
568569

0 commit comments

Comments
 (0)