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)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 18 Apr 2014 23:55:21 +0000 (02:55 +0300)
commite1a6d79b8b9533c674ee6fbf6e1b1a2e53279a72
tree6a8aabdeecbdd9b1d3e0f3449c28b520c6966a6d
parent1c0a933c25ed0c5a2a78c3f04d9c0622c7243f10
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/wl1251/rx.c