commit | fce08d1a4aa763434846d7be49658ab793848ec7 | [log] [tgz] |
---|---|---|
author | Dustin Brown <dustinb@codeaurora.org> | Tue Jan 17 16:29:38 2017 -0800 |
committer | qcabuildsw <qcabuildsw@localhost> | Thu Jan 19 14:11:23 2017 -0800 |
tree | c82734a873a1f815169e2f14d59911dfba554f06 | |
parent | 371750573f6db6c94c16ca71b810a70849011118 [diff] |
qcacld-3.0: Fix race condition for bandwidth timer start/restart The MC thread uses a timer to measure bandwidth usage in station and soft AP modes. This timer restarts itself periodically, which can race with the MC thread during a stop/start cycle. Fix this race condition by introducing a spinlock that protects the timer during start and restart. Change-Id: I0e86687d28fb07a0a41c9475b89f5f170e72bf77 CRs-Fixed: 1112498