regulatory: remove BUG_ON
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Dec 2012 17:36:09 +0000 (18:36 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:24 +0000 (13:01 +0100)
This code is a bit too BUG_ON happy, remove all
instances and while doing so make some code a bit
smarter by passing the right pointer instead of
indices into arrays.

Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c
net/wireless/reg.c

Simple merge
Simple merge