Skip to content
Commit fb8cf3bf authored by Tuomo Rinne's avatar Tuomo Rinne Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192u: Convert u4bAcParam to little-endian



The commit 9304b5b0 ("staging: rtl8192u: Fix sparse warnings in r8192U_dm.c")
adds casting of le16 from cpu endianness. Therefore constructing
u4bAcParam potentially using big-endian order.
This patch converts the u4bAcParam parameter back to little-endian after
it has been constructed. Hence on big-endian architectures the parameter
will remain as little-endian.

Signed-off-by: default avatarTuomo Rinne <tuomo.rinne@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2b7f2a43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment