]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mac80211: convert ops checks to WARN_ON
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Jul 2012 12:42:10 +0000 (14:42 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 12:13:44 +0000 (14:13 +0200)
commitc0af07340aae5db9f976bfe71e2e9bcab3169409
tree519b17d2fa5700b2b32f12b67926981228029bda
parent9b8648704358e42f9865cd6de7cedb5ac0db67e7
mac80211: convert ops checks to WARN_ON

There's no need to BUG_ON when a driver registers
invalid operations, warn and return an error.

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