]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: simplify the check if the the device is associated
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Mon, 20 Apr 2020 16:02:56 +0000 (18:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 11:26:02 +0000 (13:26 +0200)
commit2f3ecbe8e52d432b8770c35e2d7ad8fcb2b11e94
tree7604544934217ef69f0d5a5de0a7d7a20c185e12
parentd5dd16c8996c008d93c7320128cd77cf7d697ce2
staging: wfx: simplify the check if the the device is associated

Firmware dislikes the driver enables PS when it is not yet associated.
The current check for that condition is more complex than necessary.

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