mt7601u: do not use WARN_ON in the datapath
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Tue, 22 Jan 2019 15:39:34 +0000 (16:39 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 1 Feb 2019 12:41:19 +0000 (14:41 +0200)
commitb6958ad021c1f46675aa6d3602ce0d241a45785d
treec04ed7f27336b0425ebff71b6891dd480d17d1b6
parenta0b449dc4c6701c55c3682abe1d331c336189adb
mt7601u: do not use WARN_ON in the datapath

Substitute WARN_ON with WARN_ON_ONCE in mt7601u_rx_next_seg_len
routine

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Acked-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt7601u/dma.c