linux-sg2042/drivers/net/wireless/mediatek
Christophe Jaillet b3b2f62c62 mt7601u: check memory allocation failure
Check memory allocation failure and return -ENOMEM in such a case, as
already done a few lines below.

As 'dev->tx_q' can be NULL, we also need to check for that in
'mt7601u_free_tx()', and return early.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-08-24 12:54:33 +03:00
..
mt7601u mt7601u: check memory allocation failure 2017-08-24 12:54:33 +03:00
Kconfig mediatek: unify Kconfig with other vendors 2015-11-18 14:28:31 +02:00
Makefile