commit | 922ec58c70cd4a1065dd3c9f94e845dc1348b533 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Oct 15 09:12:49 2015 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Oct 15 16:17:09 2015 +0200 |
tree | e9d3cc5c0faff96acdbc2998656d8bec32374ae0 | |
parent | c7d319e542a3126bca029745735cdef5a5ca55c2 [diff] |
cfg80211: reg: remove useless reg_timeout scheduling When the functions reg_set_rd_driver() and reg_set_rd_country_ie() return with an error, the calling function already restores data by calling restore_regulatory_settings(), so there's no need to also schedule a timeout (which would lead to other side effects such as indicating CRDA failed, which clearly isn't true.) Remove the scheduling. Signed-off-by: Johannes Berg <johannes.berg@intel.com>