Doh! Fix boneheaded mistake.
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sat, 24 Nov 2007 06:46:19 +0000 (06:46 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sat, 24 Nov 2007 06:46:19 +0000 (06:46 +0000)
commit5d546c1ea1a8df07ba018fa5dce6114cec29c9c0
treeaa02acaaec9f946ae4e543c419efd4c833bbcb02
parent99f62ecfabde93c05b9b2079cc14509e187a7313
Doh! Fix boneheaded mistake.

Preprocessor flag now used to toggle printk output prior to blocking on
a spinlock.

There is of course a chance that the spinlock will be taken between the time we check it and print our little message, but this should still be of some assistance troubleshoot locking mistakes that come up in the future.

If you turn on the flag, you can find out what locks are being contended for and from which functions... i.e. ath_intr fights for a particular lock, etc.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2944 0192ed92-7a03-0410-a25b-9323aeb14dbd
ath/if_ath_hal_macros.h
ath/if_athvar.h
net80211/ieee80211_linux.h