On Thu, Feb 12, 2009 at 10:54 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Thu, 2009-02-12 at 21:36 -0800, Luis R. Rodriguez wrote: > >> +static inline void assert_cfg80211_lock(void) >> +{ >> + BUG_ON(!mutex_is_locked(&cfg80211_mutex)); >> +} > > That's a little heavy-handed for a small development mistake, can we > have a WARN_ON instead? Sure, will change. Luis -- 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