staging: rtl8712: changed struct members to __le32

Fixed sparse warning "cast to restricted __le32".
struct sitesurvey_parm uses little endian members.

Signed-off-by: Jannik Becher <becher.jannik@gmail.com>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jannik Becher 2016-12-20 18:59:38 +01:00 коммит произвёл Greg Kroah-Hartman
Родитель 1f8bb58ec5
Коммит 8c3af8f0de
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -156,9 +156,9 @@ struct setopmode_parm {
* Command-Event Mode * Command-Event Mode
*/ */
struct sitesurvey_parm { struct sitesurvey_parm {
sint passive_mode; /*active: 1, passive: 0 */ __le32 passive_mode; /*active: 1, passive: 0 */
sint bsslimit; /* 1 ~ 48 */ __le32 bsslimit; /* 1 ~ 48 */
sint ss_ssidlen; __le32 ss_ssidlen;
u8 ss_ssid[IW_ESSID_MAX_SIZE + 1]; u8 ss_ssid[IW_ESSID_MAX_SIZE + 1];
}; };