nl80211: fix path compatibility issue
authorFelix Fietkau <nbd@nbd.name>
Mon, 28 Jun 2021 13:30:28 +0000 (15:30 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 28 Jun 2021 13:39:22 +0000 (15:39 +0200)
commitc9b1672f5a83c8dcb14fdbaee651f775a7defe52
treedd9c837cdc3ea1d6e8125824e48743f8cc11a1f2
parentc0414642fead263a4a6a686ad3cb7e965ec8a23a
nl80211: fix path compatibility issue

The previous shell script implementation accepted shorter path values
that omitted initial parts before the pcie bus node by only checking if
the configured path is included in the determined path
Add support for doing the same thing here

Signed-off-by: Felix Fietkau <nbd@nbd.name>
iwinfo_nl80211.c