summary refs log tree commit diff
path: root/lib/reciprocal_div.c
diff options
context:
space:
mode:
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>2014-02-14 08:54:00 +0100
committerJohannes Berg <johannes.berg@intel.com>2014-02-25 16:27:04 +0100
commit092008abeed1e4168c08826262695ea67657e1aa (patch)
tree68705af45715df5cbc38b77bba2f6a23f9eeb874 /lib/reciprocal_div.c
parent963a1852fbac4f75a2d938fa2e734ef1e6d4c044 (diff)
downloadlinux-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