]> 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)
commitd5e7be40e286c307f03bf1d924b4980854e9698d
tree75a4bf5c05e406fe38222f9625a2b3da65c9baf8
parent0ca539fc6055c52f5b66469089bbe7c9edab625e
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