alistair23-linux/drivers/net/wireless/ralink/rt2x00
Christophe Jaillet 410280bac6 rt2x00usb: Fix error return code
We know that 'retval = 0' because it has been tested a few lines above.
So, if 'devm_kmalloc' fails, 0 will be returned instead of an error code.
Return -ENOMEM instead.

Fixes: 8b4c000931 ("rt2x00usb: Use usb anchor to manage URB")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-09-03 13:06:49 +03:00
..
Kconfig
Makefile
rt2x00.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
rt2x00config.c rt2x00: fix monitor mode regression 2016-01-25 15:19:48 +02:00
rt2x00crypto.c
rt2x00debug.c rt2x00: unterminated strlen of user data 2016-03-07 14:00:25 +02:00
rt2x00debug.h
rt2x00dev.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
rt2x00dump.h
rt2x00firmware.c
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h
rt2x00link.c
rt2x00mac.c rt2x00: fix monitor mode regression 2016-01-25 15:19:48 +02:00
rt2x00mmio.c
rt2x00mmio.h
rt2x00pci.c rt2x00pci: Disable memory-write-invalidate when the driver exits 2016-01-07 11:22:46 +02:00
rt2x00pci.h
rt2x00queue.c
rt2x00queue.h
rt2x00reg.h
rt2x00soc.c
rt2x00soc.h
rt2x00usb.c rt2x00usb: Fix error return code 2016-09-03 13:06:49 +03:00
rt2x00usb.h
rt61pci.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
rt61pci.h net: wireless: rt2x00: Fixed Spacing issues 2016-02-07 09:10:05 +02:00
rt73usb.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
rt73usb.h
rt2400pci.c rt2x00: fix monitor mode regression 2016-01-25 15:19:48 +02:00
rt2400pci.h
rt2500pci.c rt2x00: fix monitor mode regression 2016-01-25 15:19:48 +02:00
rt2500pci.h
rt2500usb.c rt2x00: fix monitor mode regression 2016-01-25 15:19:48 +02:00
rt2500usb.h
rt2800.h
rt2800lib.c rt2800lib: enable MFP if hw crypt is disabled 2016-04-26 12:30:43 +03:00
rt2800lib.h mac80211: pass block ack session timeout to to driver 2016-01-14 11:13:17 +01:00
rt2800mmio.c
rt2800mmio.h
rt2800pci.c
rt2800pci.h
rt2800soc.c
rt2800usb.c rt2x00: add new rt2800usb device Buffalo WLI-UC-G450 2016-03-07 14:27:35 +02:00
rt2800usb.h