commit | 8949120a26022968752743353e7bf8808c8a8925 | [log] [tgz] |
---|---|---|
author | Dustin Brown <dustinb@codeaurora.org> | Thu Mar 22 16:19:44 2018 -0700 |
committer | nshrivas <nshrivas@codeaurora.org> | Tue Mar 27 13:53:10 2018 -0700 |
tree | 89ef59d9e34ca321f7816165a15e6ac39e290f48 | |
parent | 668c22c96b8ba1740cd80987ebec39bb66ab6aa0 [diff] |
qcacmn: Avoid QDF_BUG logs when panic is disabled QDF_BUG panics the system when an assertion fails and PANIC_ON_BUG is enabled in the build config. It also prints an error message regardless of if PANIC_ON_BUG is enabled or not. However, these prints are not of much value when situations where PANIC_ON_BUG is disabled. When PANIC_ON_BUG is disabled, avoid printing any logs. Change-Id: I456ebce4d45d533d512402cd37d22e4ba1ae2cde CRs-Fixed: 2211960