]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: fix hif_set_mfp() with big endian hosts
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:14:38 +0000 (16:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:51:06 +0000 (15:51 +0100)
commit176a3949823a61615817dedb251b3e19fb958053
tree643c501abdf9308d9fdaed861aff02d23f94a4f9
parent4dda6675ba31edd0c13133ece95b3776fcbc4bf7
staging: wfx: fix hif_set_mfp() with big endian hosts

struct hif_mib_protected_mgmt_policy is an array of u8. There is no
reason to swap its bytes.

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