summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-02-29 16:24:54 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-03-05 15:23:16 -0500
commitf808e4ad05704d4ba0082fbb27640294c6fa4eae (patch)
tree75ad554227015fa52ea45ffc1b7e9527a2a23851 /Makefile
parente4e02da2ef01deb36aa80fce6ee0bc3e9725ffe8 (diff)
rndis_wlan: fix le16/le32_to_cpu mix up with config.beacon_period
'beacon_period' in 'struct ndis_80211_conf' is __le32 instead of __le16 so le32_to_cpu must be used instead of le16_to_cpu. Also correct 'beacon_interval' variables used for passing this value forward from u16 to u32 and rename those variables 'beacon_period' This is to avoid confusion because 'beacon_interval' is defined as __le16 at other structure, 'struct ndis_80211_fixed_ies'. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions