]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd45d986bc8dad0a7870ca523ca2334f58c15711e
treeba92e30e9cfe3e4ecc6d5ca05397e357a112602e
parent25fd9b92c7b779d724666e12395d12669a7ef786
regulatory: remove BUG_ON

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