summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/init.c
diff options
context:
space:
mode:
authorXinming Hu <huxm@marvell.com>2017-12-12 08:38:11 +0100
committerKalle Valo <kvalo@codeaurora.org>2018-01-08 18:36:55 +0100
commitd0e2b44ef32814bdde8aaed307d1ae663fcf251c (patch)
tree725826544d63850b60babfedf6d49e15a8c48f4a /drivers/net/wireless/marvell/mwifiex/init.c
parentmt76x2: eeprom: fix typo in mt76x2_get_power_info_5g() (diff)
downloadlinux-d0e2b44ef32814bdde8aaed307d1ae663fcf251c.tar.xz
linux-d0e2b44ef32814bdde8aaed307d1ae663fcf251c.zip
mwifiex: refactor device dump code to make it generic for usb interface
This patch refactor current device dump code to make it generic for subsequent implementation on usb interface. Signed-off-by: Xinming Hu <huxm@marvell.com> Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: Ganapathi Bhat <gbhat@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/init.c')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/init.c b/drivers/net/wireless/marvell/mwifiex/init.c
index e1aa86042469..b0d3d681a76a 100644
--- a/drivers/net/wireless/marvell/mwifiex/init.c
+++ b/drivers/net/wireless/marvell/mwifiex/init.c
@@ -314,6 +314,7 @@ static void mwifiex_init_adapter(struct mwifiex_adapter *adapter)
adapter->iface_limit.p2p_intf = MWIFIEX_MAX_P2P_NUM;
adapter->active_scan_triggered = false;
timer_setup(&adapter->wakeup_timer, wakeup_timer_fn, 0);
+ adapter->devdump_len = 0;
}
/*