mac80211: remove BUG_ON usage
authorJohannes Berg <johannes.berg@intel.com>
Tue, 29 Apr 2014 15:55:26 +0000 (17:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 29 Apr 2014 15:59:27 +0000 (17:59 +0200)
These BUG_ON statements should never trigger, but in the unlikely
event that somebody does manage don't stop everything but simply
exit the code path with an error.

Leave the one BUG_ON where changing it would result in a NULL
pointer dereference.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/key.c
net/mac80211/mesh_pathtbl.c
net/mac80211/mesh_sync.c

Simple merge
Simple merge
Simple merge