diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/util.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/util.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/wireless/mwifiex/util.c b/drivers/net/wireless/mwifiex/util.c index 9c48f37069f7..6b399976d6c8 100644 --- a/drivers/net/wireless/mwifiex/util.c +++ b/drivers/net/wireless/mwifiex/util.c | |||
@@ -93,10 +93,10 @@ int mwifiex_get_debug_info(struct mwifiex_private *priv, | |||
93 | sizeof(priv->wmm.packets_out)); | 93 | sizeof(priv->wmm.packets_out)); |
94 | info->max_tx_buf_size = (u32) adapter->max_tx_buf_size; | 94 | info->max_tx_buf_size = (u32) adapter->max_tx_buf_size; |
95 | info->tx_buf_size = (u32) adapter->tx_buf_size; | 95 | info->tx_buf_size = (u32) adapter->tx_buf_size; |
96 | info->rx_tbl_num = mwifiex_get_rx_reorder_tbl( | 96 | info->rx_tbl_num = mwifiex_get_rx_reorder_tbl(priv, |
97 | priv, info->rx_tbl); | 97 | info->rx_tbl); |
98 | info->tx_tbl_num = mwifiex_get_tx_ba_stream_tbl( | 98 | info->tx_tbl_num = mwifiex_get_tx_ba_stream_tbl(priv, |
99 | priv, info->tx_tbl); | 99 | info->tx_tbl); |
100 | info->ps_mode = adapter->ps_mode; | 100 | info->ps_mode = adapter->ps_mode; |
101 | info->ps_state = adapter->ps_state; | 101 | info->ps_state = adapter->ps_state; |
102 | info->is_deep_sleep = adapter->is_deep_sleep; | 102 | info->is_deep_sleep = adapter->is_deep_sleep; |
@@ -105,19 +105,19 @@ int mwifiex_get_debug_info(struct mwifiex_private *priv, | |||
105 | info->is_hs_configured = adapter->is_hs_configured; | 105 | info->is_hs_configured = adapter->is_hs_configured; |
106 | info->hs_activated = adapter->hs_activated; | 106 | info->hs_activated = adapter->hs_activated; |
107 | info->num_cmd_host_to_card_failure | 107 | info->num_cmd_host_to_card_failure |
108 | = adapter->dbg.num_cmd_host_to_card_failure; | 108 | = adapter->dbg.num_cmd_host_to_card_failure; |
109 | info->num_cmd_sleep_cfm_host_to_card_failure | 109 | info->num_cmd_sleep_cfm_host_to_card_failure |
110 | = adapter->dbg.num_cmd_sleep_cfm_host_to_card_failure; | 110 | = adapter->dbg.num_cmd_sleep_cfm_host_to_card_failure; |
111 | info->num_tx_host_to_card_failure | 111 | info->num_tx_host_to_card_failure |
112 | = adapter->dbg.num_tx_host_to_card_failure; | 112 | = adapter->dbg.num_tx_host_to_card_failure; |
113 | info->num_event_deauth = adapter->dbg.num_event_deauth; | 113 | info->num_event_deauth = adapter->dbg.num_event_deauth; |
114 | info->num_event_disassoc = adapter->dbg.num_event_disassoc; | 114 | info->num_event_disassoc = adapter->dbg.num_event_disassoc; |
115 | info->num_event_link_lost = adapter->dbg.num_event_link_lost; | 115 | info->num_event_link_lost = adapter->dbg.num_event_link_lost; |
116 | info->num_cmd_deauth = adapter->dbg.num_cmd_deauth; | 116 | info->num_cmd_deauth = adapter->dbg.num_cmd_deauth; |
117 | info->num_cmd_assoc_success = | 117 | info->num_cmd_assoc_success = |
118 | adapter->dbg.num_cmd_assoc_success; | 118 | adapter->dbg.num_cmd_assoc_success; |
119 | info->num_cmd_assoc_failure = | 119 | info->num_cmd_assoc_failure = |
120 | adapter->dbg.num_cmd_assoc_failure; | 120 | adapter->dbg.num_cmd_assoc_failure; |
121 | info->num_tx_timeout = adapter->dbg.num_tx_timeout; | 121 | info->num_tx_timeout = adapter->dbg.num_tx_timeout; |
122 | info->num_cmd_timeout = adapter->dbg.num_cmd_timeout; | 122 | info->num_cmd_timeout = adapter->dbg.num_cmd_timeout; |
123 | info->timeout_cmd_id = adapter->dbg.timeout_cmd_id; | 123 | info->timeout_cmd_id = adapter->dbg.timeout_cmd_id; |
@@ -160,7 +160,7 @@ int mwifiex_recv_packet(struct mwifiex_adapter *adapter, struct sk_buff *skb) | |||
160 | 160 | ||
161 | rx_info = MWIFIEX_SKB_RXCB(skb); | 161 | rx_info = MWIFIEX_SKB_RXCB(skb); |
162 | priv = mwifiex_get_priv_by_id(adapter, rx_info->bss_num, | 162 | priv = mwifiex_get_priv_by_id(adapter, rx_info->bss_num, |
163 | rx_info->bss_type); | 163 | rx_info->bss_type); |
164 | if (!priv) | 164 | if (!priv) |
165 | return -1; | 165 | return -1; |
166 | 166 | ||
@@ -191,7 +191,7 @@ int mwifiex_complete_cmd(struct mwifiex_adapter *adapter, | |||
191 | { | 191 | { |
192 | atomic_dec(&adapter->cmd_pending); | 192 | atomic_dec(&adapter->cmd_pending); |
193 | dev_dbg(adapter->dev, "cmd completed: status=%d\n", | 193 | dev_dbg(adapter->dev, "cmd completed: status=%d\n", |
194 | adapter->cmd_wait_q.status); | 194 | adapter->cmd_wait_q.status); |
195 | 195 | ||
196 | *(cmd_node->condition) = true; | 196 | *(cmd_node->condition) = true; |
197 | 197 | ||