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 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html