Skip to content

Commit

Permalink
sysinfo: fix TURBO clkfreq override (even though no longer supported)
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bacho committed Aug 25, 2017
1 parent ea6daba commit dcaa84e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion release/src/router/httpd/sysinfo.c
Expand Up @@ -125,8 +125,10 @@ int ej_show_sysinfo(int eid, webs_t wp, int argc, char_t ** argv)
tmp = nvram_get("clkfreq");

#ifdef RTCONFIG_TURBO
char buf[16];
if (nvram_get_int("btn_turbo"))
strcpy(tmp, "1000,0,0"); // RT-AC68U Turbo mode enabled = 1000 MHz
strcpy(buf, "1000,0,0"); // RT-AC68U Turbo mode enabled = 1000 MHz
tmp = buf;
#endif
if (tmp)
sscanf(tmp,"%[^,]s", result);
Expand Down

0 comments on commit dcaa84e

Please sign in to comment.