commit | af7402d19c09658131220372785909890742471c | [log] [tgz] |
---|---|---|
author | Deepthi Gowri <c_gowri@qti.qualcomm.com> | Mon Aug 10 16:02:49 2015 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Aug 12 00:51:53 2015 -0700 |
tree | 48940822d8ab15484e20ca522411fc7ae7b467e0 | |
parent | 48e6f78f704387a66c4f5a9178cff886e43e5405 [diff] |
wlan: Fix for invalid pointer access for roc context. Due to the race between MCThread and Suplicant thread, After the roc callback is invoked from the MCThread where the roc context is freed, cancel roc from supplicant thread is getting invoked which tries to access the roc context is already freed. To address this, protect roc context in roc callback while freeing the roc context. CRs-Fixed: 887593 Change-Id: I8f1bb170f72ac5c558c0db7f0f791c33c644db76