mwifiex: make error values consistent in mwifiex_update_bss_desc_with_ie()
authorPavel Machek <pavel@ucw.cz>
Wed, 24 Jul 2019 09:50:15 +0000 (11:50 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Aug 2019 12:28:08 +0000 (15:28 +0300)
commit6334dea8880a4add8e5e0e4d3c311e7886c26f1c
tree2c06b3856478dd548b52d5e48733441824863108
parent9236c1250cb7c6c645a658485efc2f99d57e96c2
mwifiex: make error values consistent in mwifiex_update_bss_desc_with_ie()

Surrounding code uses -ERRNO as a result, so don't pass plain -1.

Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/scan.c