]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: update filtering even if not connected
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 15 Apr 2020 16:11:28 +0000 (18:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 10:29:39 +0000 (12:29 +0200)
commit686b39dc76eab5e5a3e5bcece770563aac0ad531
tree4e21320728646ed888b590b0c460d988e2300215
parente58a7e60828c4164fc991a1699e8d36ad04ffc8d
staging: wfx: update filtering even if not connected

Currently, filtering are not update if the device is not connected.
There is no obvious rationale for that. Updating filtering while it is
not necessary is harmless. On the other hand, it is difficult to ensure
that the filtering rule has been correctly sent to the firmware.

Just drop this useless condition.

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