commit | 3e41ace5deef7af16dd277d9d17f9d36dca0a10e | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon Apr 18 09:12:37 2011 -0700 |
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | Mon Apr 18 09:14:30 2011 -0700 |
tree | 213bf23ffeaede74cddd033ccd45a1d45e9d3f3b | |
parent | e79b1ca75bb48111e8d93fc576f50e24671f5f9d [diff] |
iwlagn: remove most BUG_ON instances There are a number of things in the driver that may result in a BUG(), which is suboptimal since it's hard to get debugging information out of the driver in that case and the user experience is also not good :-) Almost all BUG_ON instances can be converted to WARN_ON with a few lines of appropriate error handling, so do that instead. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>