staging: wfx: rework wfx_configure_filter()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 15 Apr 2020 16:11:30 +0000 (18:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 10:29:40 +0000 (12:29 +0200)
commitb460713a5a2927998729fd22d9c649bcc9f1a9de
treeb7af0605b8ec95ce88d58c636aac6aa14d19baba
parente86bc725ba5f96ec687f30c924c9d82eea095968
staging: wfx: rework wfx_configure_filter()

wfx_configure_filter() lacks of coherency. In add, some corner cases
seems to not been handled properly. Rework the whole function().

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200415161147.69738-4-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c