]> git.baikalelectronics.ru Git - kernel.git/commit
mt76x0: trim rx skb to proper length
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 6 Sep 2018 09:18:42 +0000 (11:18 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Sep 2018 10:30:55 +0000 (12:30 +0200)
commit767ad745fb8eb1b98c116fe6d71fd7f6c0348d0b
treed9b262be5d944128dba41e5fc31a87880b2b35ba
parent176f4d2a709dcc6aece6c96b30df860f8a9b01d1
mt76x0: trim rx skb to proper length

We need to truncate skb to proper length. This fix below message:

wlan0: associating with AP with corrupt beacon and probe response

Fixes: 9d87d9fad47e ("mt76x0: unify tx/rx datapath with mt76x2u driver")
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/mac.c