iwinfo: fix nl80211 phy lookup without platform prefix
authorJo-Philipp Wich <jo@mein.io>
Mon, 4 Jul 2016 14:19:43 +0000 (16:19 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 4 Jul 2016 14:26:38 +0000 (16:26 +0200)
commitdd9afb8207822736dfea623206392584220e81af
tree12c0f8ffd62f1b9bce1bb5b585790b5b20d6d765
parent70b4e4680461b08e58e1b6d54ebf6980fbb2c61a
iwinfo: fix nl80211 phy lookup without platform prefix

Commit d9b20a6f351c50d206fb6d2f965a16318c0cecf7 (SVN r48426) changed the
mac80211 phy lookup logic to strip the platform/ directory component from
the phy path specification.

Fix iwinfo to follow that logic by trying to lookup phys both with and
without "platform/" prefix.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/network/utils/iwinfo/Makefile