wlcore: change warn on missing lock in wlcore_queue_xx funcs
authorArik Nemtsov <arik@wizery.com>
Tue, 12 Mar 2013 15:19:40 +0000 (17:19 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 25 Mar 2013 10:33:12 +0000 (12:33 +0200)
commit8910cfa3ac022feebfe1c4ae021afc34a1c1af25
tree849e6ec76d642e8de188b5d324d0551030694f4d
parent0a9ffac09f772edee60abf3a0fe00f7bb5335c51
wlcore: change warn on missing lock in wlcore_queue_xx funcs

On !CONFIG_SMP builds spin_is_locked always returns 0. Assert the
locking using assert_spin_locked, which is written to behave correctly
in all cases.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/tx.c