staging: wimax/i2400m: fix byte-order issue
authorkarthik alapati <mail@karthek.com>
Sun, 21 Feb 2021 15:31:05 +0000 (21:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:25:33 +0000 (09:25 +0100)
commit0c37baae130df39b19979bba88bde2ee70a33355
tree313bcf2109b0f9130086c28efd3108d464713bef
parentd278360a3b3301c9e2bfb6a350cb2763edd9ee23
staging: wimax/i2400m: fix byte-order issue

fix sparse byte-order warnings by converting host byte-order
type to __le16 byte-order types before assigning to hdr.length

Signed-off-by: karthik alapati <mail@karthek.com>
Link: https://lore.kernel.org/r/0ae5c5c4c646506d8be871e7be5705542671a1d5.1613921277.git.mail@karthek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wimax/i2400m/op-rfkill.c