aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng
diff options
context:
space:
mode:
authorVitali Liaukovich <vitali.liaukovich@gmail.com>2017-07-10 21:31:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-18 08:57:59 +0200
commit7d647bcf7e2d3b67b7e596c1c9f30378ea7cd7cf (patch)
tree74a724de5e8ff6e71cbbc8736f8bbd4e8cab3877 /drivers/staging/wlan-ng
parentstaging: gs_fpgaboot: remove FSF address from GPL notice (diff)
downloadlinux-dev-7d647bcf7e2d3b67b7e596c1c9f30378ea7cd7cf.tar.xz
linux-dev-7d647bcf7e2d3b67b7e596c1c9f30378ea7cd7cf.zip
Staging: wlan-ng: hfa384x.h: fixed sparse warning
Fields of hfa384x_commsquality were used as __le16 but defined as u16. Type is changed to __le16. Signed-off-by: Vitali Liaukovich <vitali.liaukovich@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng')
-rw-r--r--drivers/staging/wlan-ng/hfa384x.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 018db2299d0c..f28b05731e88 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -445,9 +445,9 @@ struct hfa384x_downloadbuffer {
/*-- Information Record: commsquality --*/
struct hfa384x_commsquality {
- u16 cq_curr_bss;
- u16 asl_curr_bss;
- u16 anl_curr_fc;
+ __le16 cq_curr_bss;
+ __le16 asl_curr_bss;
+ __le16 anl_curr_fc;
} __packed;
/*-- Information Record: dmbcommsquality --*/