projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95965cd
)
mac80211: strip platform/ prefix from device path to improve compatibility between...
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 21 Jan 2016 13:28:09 +0000
(13:28 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 21 Jan 2016 13:28:09 +0000
(13:28 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48426
package/kernel/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/kernel/mac80211/files/lib/wifi/mac80211.sh
b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
index 3fc39c26f274a4dae8e54a8f6a14ddc4ad26f6ce..1be99ec22b07e2d3e03ca985a0ec037854cd31a3 100644
(file)
--- a/
package/kernel/mac80211/files/lib/wifi/mac80211.sh
+++ b/
package/kernel/mac80211/files/lib/wifi/mac80211.sh
@@
-101,6
+101,7
@@
detect_mac80211() {
fi
if [ -n "$path" ]; then
path="${path##/sys/devices/}"
+ path="${path##platform/}"
dev_id=" option path '$path'"
else
dev_id=" option macaddr $(cat /sys/class/ieee80211/${dev}/macaddress)"