nl80211: retry phy lookup with platform/ prefix
authorJo-Philipp Wich <jo@mein.io>
Mon, 4 Jul 2016 14:07:09 +0000 (16:07 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 4 Jul 2016 14:07:12 +0000 (16:07 +0200)
commit96d322d5941c57be58f8e8d5c6e2b28e90ed3598
tree6e21b66ade08165fad36ca5edb893a8ee71b89bd
parente4aca3910dff532ed878d0ceaf1ab6e8ad7719bf
nl80211: retry phy lookup with platform/ prefix

If the first attempt to lookup the phy index by the path value fails, retry to
find the index within the platform/ subdirectory to follow the logic used by
the mac80211 package.

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