diff options
author | Janusz Dziedzic <janusz.dziedzic@tieto.com> | 2014-02-14 08:54:00 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-25 16:27:04 +0100 |
commit | 092008abeed1e4168c08826262695ea67657e1aa (patch) | |
tree | 68705af45715df5cbc38b77bba2f6a23f9eeb874 /lib/reciprocal_div.c | |
parent | 963a1852fbac4f75a2d938fa2e734ef1e6d4c044 (diff) | |
download | linux-092008abeed1e4168c08826262695ea67657e1aa.tar.gz |
cfg80211: regulatory: reset regdomain in case of error
Reset regdomain to world regdomain in case of errors in set_regdom() function. This will fix a problem with such scenario: - iw reg set US - iw reg set 00 - iw reg set US The last step always fail and we get deadlock in kernel regulatory code. Next setting new regulatory wasn't possible due to: Pending regulatory request, waiting for it to be processed... Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/reciprocal_div.c')
0 files changed, 0 insertions, 0 deletions