qcacld-3.0: Fix potential spinlock recursion on UP

wlan_hdd_update_txq_timestamp tries to grab txq spinlock
in __dev_queue_xmit context. Issue is txq spinlock is
already held before calling into driver's ndo_start_xmit
callback. On UP system, kernel throws a BUG and system
crashes.

Fix is to detect spinlock recursion and only tries
to grab the lock when it is not held on the same
CPU or not held.

Change-Id: I3956ef00c4f4a563155dc82ed8f95f097129fb0c
CRs-Fixed: 2050134
1 file changed
tree: 0af0c8a57c0631a464cb0bc6d1381b57967a4c1c
  1. components/
  2. core/
  3. uapi/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile
  8. README.txt