mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 20:19:47 +02:00
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.c | ||
| hermes.h | ||
| hermes_dld.c | ||
| hermes_dld.h | ||
| hermes_rid.h | ||
| hw.c | ||
| hw.h | ||
| Kconfig | ||
| main.c | ||
| main.h | ||
| Makefile | ||
| mic.c | ||
| mic.h | ||
| orinoco.h | ||
| orinoco_cs.c | ||
| orinoco_nortel.c | ||
| orinoco_pci.c | ||
| orinoco_pci.h | ||
| orinoco_plx.c | ||
| orinoco_tmd.c | ||
| orinoco_usb.c | ||
| scan.c | ||
| scan.h | ||
| spectrum_cs.c | ||
| wext.c | ||
| wext.h | ||