diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2018-09-05 08:06:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-10 07:41:33 -0800 |
commit | db420bc4b798c1a5c91ce87e40011c89c118aef7 (patch) | |
tree | 23d2524191f4700c5c63a6f1fcdcb1d19da9d6bc /arch/arm/mm | |
parent | 7402bc9ca983a6a4c1545a4048e8b1a859b882ba (diff) |
cfg80211: reg: Init wiphy_idx in regulatory_hint_core()
[ Upstream commit 24f33e64fcd0d50a4b1a8e5b41bd0257aa66b0e8 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm/mm')
0 files changed, 0 insertions, 0 deletions