diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2008-08-26 11:57:59 -0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:10 -0400 |
commit | f745ba03a12a1c4b98a88a96ab39d9b58ac677a2 (patch) | |
tree | b66455f17ac6c8cfc33711c71da793ae17209ada /net/mac80211/cfg.c | |
parent | 01b510b9c29caf2134c31d2bc8c2c5cc73987eb6 (diff) |
rfkill: add WARN and BUG_ON paranoia (v2)
BUG_ON() and WARN() the heck out of buggy drivers calling into the rfkill
subsystem.
Also switch from WARN_ON(1) to the new descriptive WARN().
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions