OSDN Git Service

mwifiex: uninit wakeup info in the error handling
authorJeffy Chen <jeffy.chen@rock-chips.com>
Thu, 6 Jul 2017 07:55:28 +0000 (15:55 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 14:50:13 +0000 (17:50 +0300)
commitf101d9649c42daecaa9650b362be8068f8f8c933
tree3f359e2f26b3627caf4bf4ecb21c9f495fe3e3d6
parentf46a5b0156b166fcfdf05bca02d13bf482d95bf1
mwifiex: uninit wakeup info in the error handling

We inited wakeup info at the beginning of mwifiex_add_card, so we need
to uninit it in the error handling.

It's much the same as what we did in:
36908c4 mwifiex: uninit wakeup info when removing device

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/main.c