linux_dsm_epyc7002/drivers/net/wireless/orinoco
Jes Sorensen 94fdc2e627 orinoco: Do not call wiphy_unregister() from free_orinocodev()
alloc_orinocodev() would allocate the wiphy entry, but it would only get
registered much later in orinoco_init(). If something failed in the init
process inbetween the call to alloc_orinocodev() and the completion
of orinoco_init(), the drivers would end up calling wiphy_unregister()
with a NULL pointer causing beautiful OOPS fireworks.

Explicitly call wiphy_unregister() instead in the right places.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-08-13 15:36:47 +03:00
..
airport.c orinoco: constify of_device_id array 2015-03-17 15:00:22 -04:00
cfg.c orinoco: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} 2014-02-28 14:12:36 -05:00
cfg.h
fw.c
fw.h
hermes_dld.c
hermes_dld.h
hermes_rid.h
hermes.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
hermes.h
hw.c cfg80211: constify more pointers in the cfg80211 API 2014-05-19 17:53:16 +02:00
hw.h cfg80211: constify more pointers in the cfg80211 API 2014-05-19 17:53:16 +02:00
Kconfig cfg80211-wext: export symbols only when needed 2015-02-28 21:31:09 +01:00
main.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
main.h
Makefile
mic.c
mic.h
orinoco_cs.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
orinoco_nortel.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
orinoco_pci.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
orinoco_pci.h
orinoco_plx.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
orinoco_tmd.c orinoco: orinoco_tmd use msecs_to_jiffies for conversion 2015-02-06 08:45:46 +02:00
orinoco_usb.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
orinoco.h orinoco: Remove extern from function prototypes 2013-09-24 18:06:22 -07:00
scan.c cfg80211: allow passing frame type to cfg80211_inform_bss() 2014-08-26 11:16:02 +02:00
scan.h
spectrum_cs.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
wext.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
wext.h