mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 20:19:47 +02:00
The wilc_wfi_init_mon_int() forgets to clean up resource when
register_netdevice() failed. Add the missed call to fix it.
And the return value of netdev_priv can't be NULL, so remove
the unnecessary error handling.
Fixes:
|
||
|---|---|---|
| .. | ||
| cfg80211.c | ||
| cfg80211.h | ||
| fw.h | ||
| hif.c | ||
| hif.h | ||
| Kconfig | ||
| Makefile | ||
| mon.c | ||
| netdev.c | ||
| netdev.h | ||
| sdio.c | ||
| spi.c | ||
| wlan.c | ||
| wlan.h | ||
| wlan_cfg.c | ||
| wlan_cfg.h | ||
| wlan_if.h | ||