]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6456a4dd1f366a562d508c638d1f7b5d4e903b28
tree75a4bf5c05e406fe38222f9625a2b3da65c9baf8
parent81a37edb8e41dce3c0f9cd2988b5fc8a1abef7bf
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