]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/wireless/reg.c
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)
commiteeca9fce1d71a4955855ceb0c3b13c1eb9db27c1
tree713281677cdb1c5972937a76596e2d53428b4016
parent05050753602626ed4c46271c689929b625f409e7
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