diff options
author | Vitali Liaukovich <vitali.liaukovich@gmail.com> | 2017-07-10 21:31:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-18 08:57:59 +0200 |
commit | 7d647bcf7e2d3b67b7e596c1c9f30378ea7cd7cf (patch) | |
tree | 74a724de5e8ff6e71cbbc8736f8bbd4e8cab3877 /drivers/staging/wlan-ng | |
parent | c955bb478c6b08f0c1cd8d151d1c62177e8e2e3b (diff) | |
download | linux-7d647bcf7e2d3b67b7e596c1c9f30378ea7cd7cf.tar.bz2 |
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.h | 6 |
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 --*/ |