qcacld-3.0: Replace panic with BUG_ON

qcacld-2.0 to qcacld-3.0 propagation

Register values are captured in the crash dump with BUG_ON.

Change-Id: I33500aea0769879d63b2e684dc898ba0e3b0b5a2
CRs-Fixed: 813402
This commit is contained in:
Dhanashri Atre 2015-11-09 15:06:16 -08:00 • committed by Prakash Dhavali
commit 9c898e7c00

View file

@ -95,7 +95,7 @@ static inline int __cdf_status_to_os_return(CDF_STATUS status)
pr_err("Assertion failed! %s:%s %s:%d\n", \
# expr, __func__, __FILE__, __LINE__); \
dump_stack(); \
panic("Take care of the assert first\n"); \
BUG_ON(1); \
} \
} while (0)