From: Manny Vindiola Date: Wed, 26 Jul 2017 02:44:47 +0000 (-0400) Subject: Staging: wlan-ng: hfa384x.h: Fix endianness warning for hfa384x_ps_user_count X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8cd924a295ea94f37d91dab0db19e77bbd57bba2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Staging: wlan-ng: hfa384x.h: Fix endianness warning for hfa384x_ps_user_count The field in hfa384x_ps_user_count was defined as u16 but used as __le16 Changed type to __le16 for consistency Signed-off-by: Manny Vindiola Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h index 9837a591e7e3..3b18e57b4ab9 100644 --- a/drivers/staging/wlan-ng/hfa384x.h +++ b/drivers/staging/wlan-ng/hfa384x.h @@ -739,7 +739,7 @@ struct hfa384x_auth_request { /*-- Unsolicited Frame, MAC Mgmt: PSUserCount (AP Only) --*/ struct hfa384x_ps_user_count { - u16 usercnt; + __le16 usercnt; } __packed; struct hfa384x_key_id_changed {