]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: use skb_trim to make skb shorter
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Sat, 1 Mar 2014 12:52:06 +0000 (14:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Mar 2014 20:35:55 +0000 (15:35 -0500)
commit3d18d66caf5f021eaef02f7d9cea73724e97c37d
treee30521b169fe948c38e42b214952fa1cb3afbaef
parent5c5778d4e9e50236b6892891469acf3b18047824
wl1251: use skb_trim to make skb shorter

the current code is directly setting skb->len, which is not correct and
brings problems with HAVE_EFFICIENT_UNALIGNED_ACCESS enabled in config

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wl1251/rx.c