Changeset 17273
- Timestamp:
- 07/05/11 15:30:40 (23 months ago)
- Location:
- src/router
- Files:
-
- 4 edited
-
libutils/utils.c (modified) (2 diffs)
-
services/networking/network.c (modified) (1 diff)
-
services/sysinit/sysinit-ubntm.c (modified) (1 diff)
-
shared/utils.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/router/libutils/utils.c
r17271 r17273 1043 1043 {"Ubiquiti 3G Station Outdoor", 0xe6c2, "3", "3", ROUTER_BOARD_BS2M, 0}, // 1044 1044 {"Ubiquiti WispStation M5", 0xe2a5, "3", "3", ROUTER_BOARD_BS5M, 0}, // 1045 {"Ubiquiti UniFi AP", 0xe502, "3", "3", ROUTER_BOARD_ BS2M, 0}, //1045 {"Ubiquiti UniFi AP", 0xe502, "3", "3", ROUTER_BOARD_UNIFI, 0}, // 1046 1046 {NULL, 0, NULL, NULL, 0}, // 1047 1047 }; … … 3219 3219 { 3220 3220 #ifndef HAVE_BUFFALO 3221 case ROUTER_BOARD_UNIFI: 3222 diag_gpio=0x001; 3223 break; 3221 3224 case ROUTER_BOARD_DANUBE: 3222 3225 #ifdef HAVE_WMBR_G300NH -
src/router/services/networking/network.c
r17243 r17273 1168 1168 switch (brand) { 1169 1169 case ROUTER_BOARD_BS2M: 1170 case ROUTER_BOARD_UNIFI: 1170 1171 case ROUTER_BOARD_BS5M: 1171 1172 case ROUTER_BOARD_R2M: -
src/router/services/sysinit/sysinit-ubntm.c
r15714 r17273 94 94 detect_wireless_devices(); 95 95 96 int brand = getRouterBrand(); 97 if (brand==ROUTER_BOARD_UNIFI) 98 { 99 system2("echo 0 >/proc/sys/dev/wifi0/ledpin"); 100 system2("echo 1 >/proc/sys/dev/wifi0/softled"); 101 }else{ 96 102 system2("echo 0 >/proc/sys/dev/wifi0/softled"); 103 } 97 104 98 105 /* ubnt has a hardware fault as it seems, so the power bridge feature can break the hardware which causes endless reboot loops. we keep it disabled here. devices which are already broken will work again then */ -
src/router/shared/utils.h
r17268 r17273 546 546 #define ROUTER_NETCORE_NW715P 0xad0f 547 547 548 #define ROUTER_BOARD_UNIFI 0xac1c //bullet 2m 548 549 549 550
Note: See TracChangeset
for help on using the changeset viewer.
