diff options
author | Zhaoyang Liu <liuzy@marvell.com> | 2015-05-11 22:18:18 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-05-26 13:50:33 +0300 |
commit | c687a0077faa0d24fe97a4434974f32bd359beb7 (patch) | |
tree | 2fec67342ff703092919d24e9191235ed0395d25 /drivers/net/wireless/mwifiex/ioctl.h | |
parent | c2c6c85fca47f4c5ac99d482b64d59dbd142117c (diff) | |
download | linux-c687a0077faa0d24fe97a4434974f32bd359beb7.tar.xz |
mwifiex: add prints debug ctrl support
This patch adds support for debugging print control in mwifiex driver.
The debug level can be controlled via either by modules load parameter
debug_mask or by writing to debug_mask in debugfs file.
Signed-off-by: Zhaoyang Liu <liuzy@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex/ioctl.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/ioctl.h b/drivers/net/wireless/mwifiex/ioctl.h index 224c993e62e9..6f11a25a6b49 100644 --- a/drivers/net/wireless/mwifiex/ioctl.h +++ b/drivers/net/wireless/mwifiex/ioctl.h @@ -189,6 +189,7 @@ struct tdls_peer_info { }; struct mwifiex_debug_info { + unsigned int debug_mask; u32 int_counter; u32 packets_out[MAX_NUM_TID]; u32 tx_buf_size; |