diff options
author | Zhaoyang Liu | 2015-05-11 21:18:19 +0200 |
---|---|---|
committer | Kalle Valo | 2015-05-26 12:50:35 +0200 |
commit | 868093a9df7580d6d50639d58f2c6e334dd73622 (patch) | |
tree | 773d7748ab93655596641460aa47c5297bbc891d /drivers/net/wireless/mwifiex/scan.c | |
parent | mwifiex: add prints debug ctrl support (diff) | |
download | kernel-qcow2-linux-868093a9df7580d6d50639d58f2c6e334dd73622.tar.gz kernel-qcow2-linux-868093a9df7580d6d50639d58f2c6e334dd73622.tar.xz kernel-qcow2-linux-868093a9df7580d6d50639d58f2c6e334dd73622.zip |
mwifiex: add dump data debug support
This patch is to add support for data hexdump debug feature.
It is controlled by level debug_mask in adapter structure.
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/scan.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/scan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/scan.c b/drivers/net/wireless/mwifiex/scan.c index 0ffdb7c5afd2..84843d1b0a04 100644 --- a/drivers/net/wireless/mwifiex/scan.c +++ b/drivers/net/wireless/mwifiex/scan.c @@ -2125,6 +2125,9 @@ int mwifiex_handle_event_ext_scan_report(struct mwifiex_private *priv, dev_dbg(adapter->dev, "EXT_SCAN: size %d, returned %d APs...", scan_resp_size, num_of_set); + mwifiex_dbg_dump(adapter, CMD_D, "EXT_SCAN buffer:", buf, + scan_resp_size + + sizeof(struct mwifiex_event_scan_result)); tlv = (struct mwifiex_ie_types_data *)scan_resp; |