diff options
author | Daniele Alessandrelli <daniele.alessandrelli@gmail.com> | 2015-06-15 21:44:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-18 07:25:24 +0300 |
commit | ff8453b3138aa5da64f70edbfb0912c536ce4510 (patch) | |
tree | 4a60fe9426d1deea2d7eacf418fc4bc7164fc8d6 /drivers/staging/rtl8723au | |
parent | 07a55cd9b27a3a3f349617bd5037426ff2995f1c (diff) | |
download | linux-ff8453b3138aa5da64f70edbfb0912c536ce4510.tar.xz |
staging: rtl8723au: include/rtl8723a_hal.h: fix Rsvd1 size in fw header struct
The size of field Rsvd1 in struct rt_8723a_firmware_hdr should be u8
otherwise we exceeds the boundaries of "LONG WORD 0". This patch fixes
the issue.
Signed-off-by: Daniele Alessandrelli <daniele.alessandrelli@gmail.com>
Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au')
-rw-r--r-- | drivers/staging/rtl8723au/include/rtl8723a_hal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723au/include/rtl8723a_hal.h b/drivers/staging/rtl8723au/include/rtl8723a_hal.h index 8ee301b44f0f..d40e420dd050 100644 --- a/drivers/staging/rtl8723au/include/rtl8723a_hal.h +++ b/drivers/staging/rtl8723au/include/rtl8723a_hal.h @@ -85,7 +85,7 @@ struct rt_8723a_firmware_hdr { u8 Function; /* Reserved for different FW function indcation, for further use when driver needs to download different FW in different conditions */ u16 Version; /* FW Version */ u8 Subversion; /* FW Subversion, default 0x00 */ - u16 Rsvd1; + u8 Rsvd1; /* LONG WORD 1 ---- */ |