diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/cmdevt.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/cmdevt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/cmdevt.c b/drivers/net/wireless/mwifiex/cmdevt.c index 83195d96e78c..686943c52d18 100644 --- a/drivers/net/wireless/mwifiex/cmdevt.c +++ b/drivers/net/wireless/mwifiex/cmdevt.c | |||
@@ -892,7 +892,6 @@ mwifiex_cmd_timeout_func(unsigned long function_context) | |||
892 | struct timeval tstamp; | 892 | struct timeval tstamp; |
893 | 893 | ||
894 | adapter->num_cmd_timeout++; | 894 | adapter->num_cmd_timeout++; |
895 | adapter->dbg.num_cmd_timeout++; | ||
896 | if (!adapter->curr_cmd) { | 895 | if (!adapter->curr_cmd) { |
897 | dev_dbg(adapter->dev, "cmd: empty curr_cmd\n"); | 896 | dev_dbg(adapter->dev, "cmd: empty curr_cmd\n"); |
898 | return; | 897 | return; |
@@ -916,7 +915,7 @@ mwifiex_cmd_timeout_func(unsigned long function_context) | |||
916 | adapter->dbg.num_cmd_host_to_card_failure); | 915 | adapter->dbg.num_cmd_host_to_card_failure); |
917 | 916 | ||
918 | dev_err(adapter->dev, "num_cmd_timeout = %d\n", | 917 | dev_err(adapter->dev, "num_cmd_timeout = %d\n", |
919 | adapter->dbg.num_cmd_timeout); | 918 | adapter->num_cmd_timeout); |
920 | dev_err(adapter->dev, "num_tx_timeout = %d\n", | 919 | dev_err(adapter->dev, "num_tx_timeout = %d\n", |
921 | adapter->dbg.num_tx_timeout); | 920 | adapter->dbg.num_tx_timeout); |
922 | 921 | ||