On Thursday 04 October 2007 11:06, Michael Buesch wrote: > The reason why BUG_ON exists is to catch bugs that happen, although > they Should Never Happen (tm) ;) This is just paranoia. There's plenty of other BUG_ONs which we use to catch bugs caused by drivers doing silly things. We can verify that this condition will never occur within the mac80211 layer, so there's no need to have it. The only thing this can catch is someone deciding to manually invoke dev->uninit, which only the unregister code should be doing. -Michael Wu
Attachment:
pgpIxSDcREfdO.pgp
Description: PGP signature