]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Schedule timeout for all CRDA calls
authorIlan peer <ilan.peer@intel.com>
Wed, 4 Mar 2015 05:32:07 +0000 (00:32 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 6 Mar 2015 08:37:59 +0000 (09:37 +0100)
commit6a0b1e6b8c452e60a14f16560a09bc18968d55f4
tree713281677cdb1c5972937a76596e2d53428b4016
parent2bad06bf2b403e947a4f544c07bd4b1078baedde
cfg80211: Schedule timeout for all CRDA calls

Timeout was scheduled only in case CRDA was called due to user hints,
but was not scheduled for other cases. This can result in regulatory
hint processing getting stuck in case that there is no CRDA configured.

Change this by scheduling a timeout every time CRDA is called. In
addition, in restore_regulatory_settings() all pending requests are
restored (and not only the user ones).

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Acked-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c