commit | 930fd35c8de88cc1ce934aa655181c4879422a37 | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Tue Oct 22 15:24:43 2013 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Nov 11 14:38:56 2013 -0500 |
tree | 2f1a5b3754ea80e522ee371a95cd8745c3ef39d0 | |
parent | 95edbc30db7882a45c4040747331cf613aa23c4a [diff] |
mwifiex: replace u16 with __le16 in struct mwifiex_types_power_group __le16 to u16 conversion is missing for "pg_tlv_hdr->length" in mwifiex_get_power_level(). This creates a problem on big endian machines. It is resolved by changing definition of the structure and making required endianness changes. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>