mwifiex: fix for unaligned reads
authorDevidas Puranik <devidas@marvell.com>
Thu, 9 Mar 2017 08:36:17 +0000 (14:06 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 20 Mar 2017 17:05:21 +0000 (19:05 +0200)
commit92c70a958b0b6b7e729a47a7c85762636859eee9
treeb0fa2fa9fef5e6c84605f38f2445627d5737362e
parent5653c6462f56e13cb943cd572fdae9252157a523
mwifiex: fix for unaligned reads

Using the accessor function e.g. get_unaligned_le32 instead of
le32_to_cpu to avoid the unaligned access. This is for the
architectures that don't handle the unaligned memory access

Signed-off-by: Devidas Puranik <devidas@marvell.com>
Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cmdevt.c
drivers/net/wireless/marvell/mwifiex/pcie.c
drivers/net/wireless/marvell/mwifiex/sdio.c
drivers/net/wireless/marvell/mwifiex/sta_cmd.c
drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
drivers/net/wireless/marvell/mwifiex/sta_event.c
drivers/net/wireless/marvell/mwifiex/tdls.c
drivers/net/wireless/marvell/mwifiex/uap_event.c
drivers/net/wireless/marvell/mwifiex/util.c