al177 / esp8089

Linux kernel module driver for the ESP8089 WiFi chip
GNU General Public License v2.0
184 stars 114 forks source link

Prevents the driver from spamming into dmesg unless desired #31

Closed CRImier closed 5 years ago

CRImier commented 5 years ago

Under normal operation and some conditions (firmware going to sleep? changing APs? something else), the driver sends all kinds of "RX START", "TX OPERATION" and similar lines into dmesg. Those lines don't seem to contain any useful info, (and afteer some time, dmesg even overflows). This patch prevents the worst offenders from being printk-ed under the default esp_msg_level - which can be tweaked using debugfs in the unlikely occasion you actually need those lines.

CRImier commented 5 years ago

Been testing this for almost 5 months now - no problems noticed