]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: fix access to le32 attribute 'indication_type'
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 12 May 2020 15:04:07 +0000 (17:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2020 11:49:44 +0000 (13:49 +0200)
commit47a8447cebf9405c5c7202731880cd0856620357
tree0b6488f629f4065201994c008d7682dfd6a17e68
parent3921d6e276b4347d33decbe8324e80da192430d0
staging: wfx: fix access to le32 attribute 'indication_type'

The attribute indication_type is little-endian. We have to take to the
endianness when we access it.

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