qtnfmac: fix core attach error path in pcie backend
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Wed, 20 Mar 2019 10:04:02 +0000 (10:04 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 4 Apr 2019 09:57:31 +0000 (12:57 +0300)
commitae1946be26bc602dae3e6637df80a78fba5ff58b
treed5198232a7cba7d85b2218ac00d20d73785e1107
parent93eeab26791df9ddd9a2c38f68d8fb78973ef06a
qtnfmac: fix core attach error path in pcie backend

Report that firmware is up and running only for successful firmware
download. Simplify qtnf_pcie_fw_boot_done: modify error path so that
no need to pass firmware dowload result to this function. Finally,
do not create debugfs entries if firmware download succeeded,
but core attach failed.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c
drivers/net/wireless/quantenna/qtnfmac/pcie/pcie_priv.h
drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c
drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c