# HG changeset patch # User Michiel Broek # Date 1676302258 -3600 # Node ID ee8afcdf2982b25758a0b828b18a5cea40b396b4 # Parent dab1a7450a42572b7a0a381c237b49df068c17ff Final changes for current wifi parameters. diff -r dab1a7450a42 -r ee8afcdf2982 thermferm/mqtt.c --- a/thermferm/mqtt.c Mon Feb 13 15:22:43 2023 +0100 +++ b/thermferm/mqtt.c Mon Feb 13 16:30:58 2023 +0100 @@ -1524,10 +1524,6 @@ if ((sock = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { syslog(LOG_NOTICE, "Error %d opening INET socket", errno); } else { - if (ioctl(sock, SIOCGIWNAME, &wrq) == 0) { - syslog(LOG_NOTICE, "IF: %s", wrq.ifr_name); - } - wrq.u.essid.pointer = essid; if (ioctl(sock, SIOCGIWESSID, &wrq) != -1) { payload = xstrcat(payload, (char *)",\"ssid\":\""); @@ -1540,7 +1536,6 @@ wrq.u.data.length = sizeof(struct iw_statistics); wrq.u.data.flags = 1; if (ioctl(sock, SIOCGIWSTATS, &wrq) != -1) { - syslog(LOG_NOTICE, "Signal level is %d %d %d", iwstats.qual.updated & IW_QUAL_DBM, iwstats.qual.level, iwstats.qual.noise); if ((iwstats.qual.updated & (IW_QUAL_QUAL_INVALID | IW_QUAL_LEVEL_INVALID)) == 0) { /* iwstats.qual.level is __u8 */ if (iwstats.qual.updated & IW_QUAL_DBM) {