mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-05-09 16:53:48 +00: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 |