]> git.ipfire.org Git - thirdparty/iw.git/commit
reg: Fix getting PHY specific regulatory information
authorIlan Peer <ilan.peer@intel.com>
Sun, 19 Jul 2020 07:44:24 +0000 (10:44 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Aug 2020 11:00:39 +0000 (13:00 +0200)
commitb3999a3ad159eb53f4e66298cde30911080858d3
tree640b2662a273d25f86392367977cfb5ef239cffe
parentb12fc8a84480d25ea791f0dff8cb92d69098c91c
reg: Fix getting PHY specific regulatory information

Commit 14ad75d3b4c3 ("iw: support multiple regdom print") added
support for dumping multiple regulatory domain, with the intent
that if a specific phy is given, only its regulatory information
would be fetched. However, the phy specific handling was ignored.
Fix it.

Change-Id: I647ef420741e528a4d6568a7d4518c9a561bd199
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
reg.c