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
2 files changed
tree: c82734a873a1f815169e2f14d59911dfba554f06
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt