summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-arizona.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-05-15 14:33:23 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-05-23 10:56:48 +0300
commit66a77cbe63eb326513632cc88e1260e877be8123 (patch)
treea8849db392712b3d45be54eebc79f8ad90f80bd9 /drivers/gpio/gpio-arizona.c
parentd98fb328ad103d12c1ebaea92526e4f8670e0fec (diff)
mt76: discard early received packets if not running yet
If the radio was previously in running state, it can receive some packets before it is able to process them. This can lead to a crash if the channel is not initialized yet. Discard all rx packets until start() is called Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/gpio/gpio-arizona.c')
0 files changed, 0 insertions, 0 deletions