]> bbs.cooldavid.org Git - net-next-2.6.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)
commit58be4607d25f86962dee6cc6b30573f95303517e
treefc48ce3bd7357905eb12cfcb59958cb72ad8f58e
parent2c7808d9345b91bb19f6bfaebf7b9e0916b0859a
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