mwifiex: fixup init_channel_scan_gap error case
authorBrian Norris <briannorris@chromium.org>
Tue, 25 Jul 2017 01:13:23 +0000 (18:13 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 14:47:48 +0000 (17:47 +0300)
commitc253a62da9b456e4cd1db49f65c8f605c4f399ea
tree68f18c13a54bc4cea44484bddd65809829833eb4
parent6417dba33538a856cf1b7d605942c707422213c9
mwifiex: fixup init_channel_scan_gap error case

In reading through _mwifiex_fw_dpc(), I noticed that after we've
registered our wiphy, we still have error paths that don't free it back
up. Let's do that.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/main.c