On Thu, 22 Mar 2007 11:37:54 +0100, Johannes Berg wrote: > I disagree. In fact, I'd prefer putting > BUG_ON(local->reg_state != IEEE80211_DEV_REGISTERED) > into ieee80211_unregister_hw. There's a WARN_ON in uregister_netdevice when the device wasn't previously registered, so I'd agree with Johannes. Jiri -- Jiri Benc SUSE Labs - 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