Commit 8c3af8f0 authored by Jannik Becher's avatar Jannik Becher Committed by Greg Kroah-Hartman

staging: rtl8712: changed struct members to __le32

Fixed sparse warning "cast to restricted __le32".
struct sitesurvey_parm uses little endian members.
Signed-off-by: default avatarJannik Becher <becher.jannik@gmail.com>
Tested-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1f8bb58e
......@@ -156,9 +156,9 @@ struct setopmode_parm {
* Command-Event Mode
*/
struct sitesurvey_parm {
sint passive_mode; /*active: 1, passive: 0 */
sint bsslimit; /* 1 ~ 48 */
sint ss_ssidlen;
__le32 passive_mode; /*active: 1, passive: 0 */
__le32 bsslimit; /* 1 ~ 48 */
__le32 ss_ssidlen;
u8 ss_ssid[IW_ESSID_MAX_SIZE + 1];
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment