commit | 7566465745d63b160e00b85ef6ca565987706278 | [log] [tgz] |
---|---|---|
author | Deepthi Gowri <c_gowri@qti.qualcomm.com> | Thu Sep 08 17:44:35 2016 +0530 |
committer | Satyanarayana Dash <sadash@codeaurora.org> | Fri Sep 09 15:20:21 2016 +0530 |
tree | 0b35d727b7fee7ffe2179e9ba039c83ef6bfe5a2 | |
parent | 573f26a2c4bc6862ef88a71473e3fdf27ff69f60 [diff] |
wlan: Add BUG_ON if ROC timer is not stopped before freeing ROC ctx 1. In ROC callback wlan_hdd_remain_on_channel_callback(), if ROC timer is not stopped before freeing the ROC context, trigger kernel panic by invoking BUG_ON. 2. Also if the ROC context is still valid even before allocating a new ROC context, trigger the kernel panic. CRs-Fixed: 1050402 Change-Id: I2eefcdd61fd51dad06970b9547c99ad521a95a71