linux/drivers/staging/wlan-ng
Alexey Khoroshilov b76ed59f75 staging: wlan-ng: fix leaks on failure paths in prism2sta_probe_usb()
There are leaks of resources allocated by wlan_setup() and usb_dev refcnt
on failure paths in prism2sta_probe_usb().

The patch adds appropriate deallocations and removes invalid code
from hfa384x_corereset() failure handling.
unregister_wlandev() is wrong because it is not registered yet.
hfa384x_destroy() is just noop in init state.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-11 12:52:42 -08:00
..
cfg80211.c staging:wlan-ng:cfg80211.c: Shorten lines to 80 characters 2013-11-10 11:49:00 -08:00
hfa384x_usb.c staging: wlan-ng: hfa384x_usb.c: replaced printk() debugs with netdev_warn()/netdev_err() 2013-09-17 07:47:44 -07:00
hfa384x.h staging:wlan-ng:hfa384x.h: remove typedef struct hfa384x_bytestr __packed hfa384x_bytestr_t 2013-11-10 11:49:00 -08:00
Kconfig
Makefile
p80211conv.c
p80211conv.h
p80211hdr.h
p80211ioctl.h
p80211meta.h
p80211metadef.h
p80211metastruct.h
p80211mgmt.h
p80211msg.h
p80211netdev.c staging/wlan-ng: Fix 'Branch condition evaluates to a garbage value' in p80211netdev.c 2013-02-14 09:26:23 -08:00
p80211netdev.h Staging: wlan-ng: changing "* dev" to "*dev" 2013-10-17 09:12:15 -07:00
p80211req.c
p80211req.h
p80211types.h staging "wlan-ng" Fix typos. 2012-09-26 09:19:50 -07:00
p80211wep.c Staging: wlan-ng: fix printk(KERN_DEBUG in p80211wep.c 2013-10-11 13:26:13 -07:00
prism2fw.c staging "wlan-ng" Fix typos. 2012-09-26 09:19:50 -07:00
prism2mgmt.c staging:wlan-ng:hfa384x.h: remove typedef struct hfa384x_bytestr __packed hfa384x_bytestr_t 2013-11-10 11:49:00 -08:00
prism2mgmt.h staging:wlan-ng:hfa384x.h: remove typedef struct hfa384x_bytestr __packed hfa384x_bytestr_t 2013-11-10 11:49:00 -08:00
prism2mib.c staging:wlan-ng:hfa384x.h: remove typedef struct hfa384x_bytestr __packed hfa384x_bytestr_t 2013-11-10 11:49:00 -08:00
prism2sta.c staging: delete non-required instances of include <linux/init.h> 2013-12-17 10:08:14 -08:00
prism2usb.c staging: wlan-ng: fix leaks on failure paths in prism2sta_probe_usb() 2014-01-11 12:52:42 -08:00
README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- move to use the in-kernel wireless stack

Please send any patches or complaints about this driver to Greg
Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless
kernel developers about it, they want nothing to do with it.