nl80211: support reading hardware id from phy directly
authorJo-Philipp Wich <jo@mein.io>
Wed, 28 Aug 2019 09:11:28 +0000 (11:11 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 28 Aug 2019 09:31:32 +0000 (11:31 +0200)
commita9f95570341baf2773a71585eef760ad5c257e65
tree51fd9903425307c007cab5d4215e7ad4569ced6c
parentc586cd3c3a68d564ec2d10a41c82725b2077b0ad
nl80211: support reading hardware id from phy directly

Do not require a temporary interface just to read the hardware ID numbers
from a given phy name, instead read the data from the ieee80211 sysfs
directory.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
iwinfo_nl80211.c