]> git.baikalelectronics.ru Git - kernel.git/commit
wl1271: avoid redundant memcpy of rx_status
authorEliad Peller <eliad@wizery.com>
Sun, 19 Sep 2010 16:55:08 +0000 (18:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Sep 2010 15:05:28 +0000 (11:05 -0400)
commitfc75205942b791b82df5fc95ec9acf7ad0a1ad7b
treefc48ce3bd7357905eb12cfcb59958cb72ad8f58e
parent161a895c023dc30e79bdcf48f4955a9b74a645bc
wl1271: avoid redundant memcpy of rx_status

copy the rx_status directly to skb->cb (control buffer) instead of copying
it to a local struct and then copying it again (for each rx packet)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_rx.c