Messages in this thread | | | Subject | Re: [PATCH] mac80211_hwsim: Register and bind to driver | From | Johannes Berg <> | Date | Mon, 08 Apr 2013 11:12:54 +0200 |
| |
Looks fine, but ...
> @@ -2179,6 +2183,8 @@ static int __init init_mac80211_hwsim(void) > if (IS_ERR(hwsim_class)) > return PTR_ERR(hwsim_class); > > + driver_register(&mac80211_hwsim_driver); > + > memset(addr, 0, ETH_ALEN); > addr[0] = 0x02;
I think you forgot to update the error path to unregister the driver.
johannes
| |