diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2018-09-05 08:06:12 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-09-05 10:07:53 +0200 |
commit | 24f33e64fcd0d50a4b1a8e5b41bd0257aa66b0e8 (patch) | |
tree | eb6c915cac8bc82ee22ccbf8917a7e516460fc12 /net/mac80211 | |
parent | 94a5b3acd0aef83c0e38b5117eda7b2abf4a05a4 (diff) | |
download | lwn-24f33e64fcd0d50a4b1a8e5b41bd0257aa66b0e8.tar.gz lwn-24f33e64fcd0d50a4b1a8e5b41bd0257aa66b0e8.zip |
cfg80211: reg: Init wiphy_idx in regulatory_hint_core()
Core regulatory hints didn't set wiphy_idx to WIPHY_IDX_INVALID. Since
the regulatory request is zeroed, wiphy_idx was always implicitly set to
0. This resulted in updating only phy #0.
Fix that.
Fixes: 806a9e39670b ("cfg80211: make regulatory_request use wiphy_idx instead of wiphy")
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
[add fixes tag]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions