brcmfmac: Properly set carrier state of netdev.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 8 Oct 2015 18:33:21 +0000 (20:33 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 21 Oct 2015 07:56:53 +0000 (10:56 +0300)
commit92121e69de8a982c0b33b359ce68657b3ec3c83d
treeae2dd760cd283a7ff7bac99909bef889562f322d
parent54b499d9ad10dd0ce9b4ac92507072cad0f37f7a
brcmfmac: Properly set carrier state of netdev.

Use the netif_carrier api to correctly set carrier state on the
different modes.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c
drivers/net/wireless/brcm80211/brcmfmac/core.c
drivers/net/wireless/brcm80211/brcmfmac/core.h