mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 14:58:10 +07:00
94fdc2e627
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> |
||
---|---|---|
.. | ||
airport.c | ||
cfg.c | ||
cfg.h | ||
fw.c | ||
fw.h | ||
hermes_dld.c | ||
hermes_dld.h | ||
hermes_rid.h | ||
hermes.c | ||
hermes.h | ||
hw.c | ||
hw.h | ||
Kconfig | ||
main.c | ||
main.h | ||
Makefile | ||
mic.c | ||
mic.h | ||
orinoco_cs.c | ||
orinoco_nortel.c | ||
orinoco_pci.c | ||
orinoco_pci.h | ||
orinoco_plx.c | ||
orinoco_tmd.c | ||
orinoco_usb.c | ||
orinoco.h | ||
scan.c | ||
scan.h | ||
spectrum_cs.c | ||
wext.c | ||
wext.h |