diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2017-09-18 16:56:51 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-09-21 12:42:02 +0300 |
commit | 62b093b375e3c10ff39896f2a172146cf5df529f (patch) | |
tree | 1b33a3e1034689a1dcd80e7fa7ba74f666e5e260 /Documentation/driver-api | |
parent | 4c121fd690d9c465e4cb09b7859adfdd6a0aee1d (diff) | |
download | linux-62b093b375e3c10ff39896f2a172146cf5df529f.tar.xz |
mac80211_hwsim: use dyndbg for debug messages
The mac80211_hwsim doesn't offer a way to disable the debugging output.
Unfortunately, it's pretty chatty, dumping a lot of stuff into the message
buffer.
This patch changes it to use dyndbg for controlling the debug output.
It's disabled by default, but can be enabled by a module parameter (1),
at runtime (2) or persisted in modprobe.conf (3).
(1) modprobe mac80211_hwsim dyndbg=+p
(2) echo "module mac80211_hwsim +p" >/sys/kernel/debug/dynamic_debug/control
(3) echo "options mac80211_hwsim dyndbg=+p" >>/etc/modprobe.d/my.conf
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions