mwifiex: convert to use le16_add_cpu()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 28 Sep 2012 04:59:43 +0000 (12:59 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Sep 2012 17:54:10 +0000 (13:54 -0400)
commit5570a914f28f58de6839a4d532e98eb8167bd57d
tree75a4bf5c05e406fe38222f9625a2b3da65c9baf8
parent2db96c3d0a1f716fc90451cc2ed13842471f4658
mwifiex: convert to use le16_add_cpu()

Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/scan.c