diff options
author | Prasun Maiti <prasunmaiti87@gmail.com> | 2016-06-27 15:43:22 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-07-18 22:32:35 +0300 |
commit | 8cfb86003dbfbe7341574fef02c96b97cbd63997 (patch) | |
tree | 2946b4aec9ca2025a43b6981d71b940b4ff57bdf /drivers/net/wireless/ti/wlcore/cmd.c | |
parent | 2186f6eec2739ecd3944f9278e59edf0474f207c (diff) | |
download | talos-obmc-linux-8cfb86003dbfbe7341574fef02c96b97cbd63997.tar.gz talos-obmc-linux-8cfb86003dbfbe7341574fef02c96b97cbd63997.zip |
mwifiex: Reduce endian conversion for REG Host Commands
For multiple REG Host Commands (e.g HostCmd_CMD_802_11_EEPROM_ACCESS,
HostCmd_CMD_MAC_REG_ACCESS etc.) "cpu_to_leX"-converted values are
saved to driver. So, "leX_to_cpu" conversion is required too many
times afterwards in driver.
This patch reduces the endian: conversion without saving "cpu_to_leX"
converted values in driver. This will convert endianness in prepare
command and command response path.
Signed-off-by: Prasun Maiti <prasunmaiti87@gmail.com>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/cmd.c')
0 files changed, 0 insertions, 0 deletions