mwifiex: add prints debug ctrl support
authorZhaoyang Liu <liuzy@marvell.com>
Mon, 11 May 2015 19:18:18 +0000 (00:48 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 May 2015 10:50:33 +0000 (13:50 +0300)
commitc687a0077faa0d24fe97a4434974f32bd359beb7
tree2fec67342ff703092919d24e9191235ed0395d25
parentc2c6c85fca47f4c5ac99d482b64d59dbd142117c
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>
drivers/net/wireless/mwifiex/debugfs.c
drivers/net/wireless/mwifiex/ioctl.h
drivers/net/wireless/mwifiex/main.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/util.c