cfg80211: remove BUG_ON usage
authorJohannes Berg <johannes.berg@intel.com>
Tue, 29 Apr 2014 15:52:36 +0000 (17:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 29 Apr 2014 15:59:19 +0000 (17:59 +0200)
commit2fd0511556538a2d713e7a3d032c51cfe0117642
tree52eab33a88470d742652056bc66b8926da8f73ab
parentf55ee0834247c88cb6981cb11eb1870392878371
cfg80211: remove BUG_ON usage

These really can't trigger unless somebody messes up the code,
but don't make debugging it needlessly complicated, WARN and
return instead of BUG_ON().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c
net/wireless/sme.c