|
@@ -101,6 +101,7 @@ detect_mac80211() {
|
|
fi
|
|
fi
|
|
if [ -n "$path" ]; then
|
|
if [ -n "$path" ]; then
|
|
path="${path##/sys/devices/}"
|
|
path="${path##/sys/devices/}"
|
|
|
|
+ path="${path##platform/}"
|
|
dev_id=" option path '$path'"
|
|
dev_id=" option path '$path'"
|
|
else
|
|
else
|
|
dev_id=" option macaddr $(cat /sys/class/ieee80211/${dev}/macaddress)"
|
|
dev_id=" option macaddr $(cat /sys/class/ieee80211/${dev}/macaddress)"
|