diff options
| author | Stefan Kerkmann <s.kerkmann@pengutronix.de> | 2025-09-10 15:03:32 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2025-09-11 08:53:43 +0200 |
| commit | 1b2e9feb351435299863b5e7ebeb02634381c883 (patch) | |
| tree | cdba54d9aa13c4649b39ea0ca8e444d72eb85133 /rust/helpers/workqueue.c | |
| parent | 6f4f8abad4f2e4f679d88eae04dcb69b2ad7bd14 (diff) | |
wifi: mwifiex: fix endianness handling in mwifiex_send_rgpower_table
The length of the host command is a u16 stored in little endian byte
order, which needs byte order conversion to work correctly on big endian
systems.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-wireless/aLqZI4FfOI4iJZtf@stanley.mountain
Fixes: 7b6f16a25806 ("wifi: mwifiex: add rgpower table loading support")
Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://patch.msgid.link/20250910-for-next-v1-1-3ee311706231@pengutronix.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
