]> git.ipfire.org Git - thirdparty/iw.git/commit
fix "iw phy#0 info"
authorJohannes Berg <johannes.berg@intel.com>
Thu, 2 May 2013 07:22:58 +0000 (09:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 2 May 2013 07:22:58 +0000 (09:22 +0200)
commitc142fa28e0613019e3aa92626ad12d4002ee05df
tree6479b913f11c17231f2bb0b1cf45308977952d10
parent4310994deabda5c5776ec0ffc7789e3927da8a2b
fix "iw phy#0 info"

Ben Greear reported that on a kernel that doesn't have the split
(and therefore filtered) wiphy dump feature, "iw phy#0 info" was
reporting data for all devices, rather than just one. This was a
result of using the split/filtered dump rather than a simple get
on "older" kernels (before 3.10!)

Fix this by checking the kernel feature before getting the data.
info.c