]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use the correct lock when calling msleep().
authoradrian <adrian@FreeBSD.org>
Mon, 21 Nov 2011 22:57:28 +0000 (22:57 +0000)
committeradrian <adrian@FreeBSD.org>
Mon, 21 Nov 2011 22:57:28 +0000 (22:57 +0000)
commite8ee756732f827a0fd18ac22999fdc94ba5f4753
tree6c565ba495ef68cbdf28ca94c96bdd1baa1aa732
parent8d184570b373a37ab4f2b011abae94fc0fc28364
Use the correct lock when calling msleep().

This fixes panics that users have been seeing when operating in station mode,
where the interface undergoes a lot more resets then in hostap mode (ie whilst
doing channel scanning.)

Reported by: arundel, wblock@wonkity.com
Sponsored by: Hobnob, Inc.
sys/dev/ath/if_ath.c