"John W. Linville" <linville@xxxxxxxxxxxxx> writes: > From: Adel Gadllah <adel.gadllah@xxxxxxxxx> > > Currently it is a BUG_ON() which will hang the machine once triggered. Related to this: can we have a rule that no wireless driver should ever use BUG_ON()? I think we could extend this even to cfg80211 and mac80211. BUG_ON() is valid whenever there's a risk of corrupting data, for example on a filesystem, but I really don't see the point of using them in wireless drivers. They just make things miserable, especially for the normal users. Printing a warning and handling the case as gracefully as possible is much better IMHO. -- Kalle Valo -- 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