From: Jussi Kivilinna Date: Wed, 29 Feb 2012 14:24:54 +0000 (+0200) Subject: rndis_wlan: fix le16/le32_to_cpu mix up with config.beacon_period X-Git-Tag: v3.4-rc1~177^2~108^2~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f808e4ad05704d4ba0082fbb27640294c6fa4eae;p=pandora-kernel.git 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 Signed-off-by: Jussi Kivilinna Signed-off-by: John W. Linville --- Reading git-diff-tree failed