]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix locking for SIWFREQ
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 8 Aug 2009 09:03:58 +0000 (11:03 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:13:51 +0000 (09:13 -0400)
commite0627194bccc8fb10a8b858f6e207bbc96ace363
tree93f85f1c99f097ec3c60f45b7b917c1b0dfbf7f9
parent065405da344b8530648b6284ab563f5f252b0a1f
cfg80211: fix locking for SIWFREQ

"cfg80211: validate channel settings across interfaces"
contained a locking bug -- in the managed-mode SIWFREQ
call it would end up running into a lock recursion.

This fixes it by not checking that particular interface
for a channel that it needs to stay on, which is as it
should be as that's the interface we're setting the
channel for.

Reported-by: Reinette Chatre <reinette.chatre@intel.com>
Reported-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Tested-by: Kalle Valo <kalle.valo@iki.fi>
Tested-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/chan.c
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/wext-compat.c
net/wireless/wext-sme.c