瀏覽代碼

ath79: ubnt-xm: create RSSI monitor on wlan0

When mapping for RSSI LEDs was defined for interface wlan0 on
Ubiquiti XM family, the mapping for rssileds monitor was omitted
by mistake. Therefore create the mapping, so RSSI LEDs work without
additional configuration, after starting rssileds service.

Signed-off-by: Lech Perczak <[email protected]>
Lech Perczak 7 年之前
父節點
當前提交
e440a9d73f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      target/linux/ath79/base-files/etc/board.d/01_leds

+ 1 - 0
target/linux/ath79/base-files/etc/board.d/01_leds

@@ -95,6 +95,7 @@ tplink,tl-wr841-v11)
 ubnt,bullet-m|\
 ubnt,nano-m|\
 ubnt,rocket-m)
+	ucidef_set_rssimon "wlan0" "200000" "1"
 	ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:red:link1" "wlan0" "1" "100"
 	ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:orange:link2" "wlan0" "26" "100"
 	ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:green:link3" "wlan0" "51" "100"