]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: set netif carrier off in ndo_open
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 19 Jan 2015 10:24:36 +0000 (15:54 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Jan 2015 17:40:47 +0000 (19:40 +0200)
commitc630468e8404ab28aa0965893171e9764780d113
treefd79477f43d4bd63e36ebc9968b8f13fa953a61c
parente9c23ec6048006b6593f54ccb1519d4f76359496
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 <johannes@sipsolutions.net>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/main.c