diff options
| author | Tuomo Rinne <tuomo.rinne@gmail.com> | 2017-05-02 01:46:20 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-15 08:41:57 +0300 |
| commit | fb8cf3bfb23b631360d1e6ee2cb1d740e42b0851 (patch) | |
| tree | a7108dbffd6a0f6ec7661c16183262dd80810a58 /include/linux | |
| parent | 2b7f2a43589aa8800ffd3759775bbfcb34e17179 (diff) | |
| download | linux-fb8cf3bfb23b631360d1e6ee2cb1d740e42b0851.tar.xz | |
staging: rtl8192u: Convert u4bAcParam to little-endian
The commit 9304b5b0d4fe ("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: Tuomo Rinne <tuomo.rinne@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
