projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac80211: add iw command wrapper with error logging
[openwrt/staging/mkresin.git]
/
package
/
kernel
/
mac80211
/
files
/
lib
/
netifd
/
wireless
/
mac80211.sh
diff --git
a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 244260a2dd8f2b48ee07fda139a5d45c10603548..e7d442f8ef1a0efb8087be90a740b4cd6348337f 100644
(file)
--- a/
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@
-14,6
+14,10
@@
MP_CONFIG_INT="mesh_retry_timeout mesh_confirm_timeout mesh_holding_timeout mesh
MP_CONFIG_BOOL="mesh_auto_open_plinks mesh_fwding"
MP_CONFIG_STRING="mesh_power_mode"
+iw() {
+ command iw $@ || logger -t mac80211 "Failed command: iw $@"
+}
+
drv_mac80211_init_device_config() {
hostapd_common_add_device_config