Repository navigation
Commit 092008a
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>1 parent 963a185 commit 092008a
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2373 | 2373 | | |
2374 | 2374 | | |
2375 | 2375 | | |
| 2376 | + | |
2376 | 2377 | | |
2377 | 2378 | | |
2378 | 2379 | | |
| |||
2389 | 2390 | | |
2390 | 2391 | | |
2391 | 2392 | | |
| 2393 | + | |
2392 | 2394 | | |
2393 | 2395 | | |
2394 | 2396 | | |
| |||
2402 | 2404 | | |
2403 | 2405 | | |
2404 | 2406 | | |
2405 | | - | |
| 2407 | + | |
| 2408 | + | |
2406 | 2409 | | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
2407 | 2415 | | |
2408 | 2416 | | |
2409 | 2417 | | |
| |||
0 commit comments