qtnfmac: remove VIF in firmware in case of error
authorIgor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Mon, 18 Nov 2019 08:23:04 +0000 (08:23 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 20 Nov 2019 07:42:55 +0000 (09:42 +0200)
commit45028223425dc37d3452da7e9bd01f7789024ee7
tree081b31cef4d057a5256c46f7f1550ed680422013
parent4c8c0d8f709d16f418a5d1962b4eda86ff570151
qtnfmac: remove VIF in firmware in case of error

Currently in case of error when registering network device with the
kernel, we won't properly cleanup VIF state in firmware due to DEL_VIF
command will not be send to wifi card. Make sure it does.

Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c
drivers/net/wireless/quantenna/qtnfmac/core.c