aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-4965.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-4965.h')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-4965.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-4965.h b/drivers/net/wireless/iwlegacy/iwl-4965.h
index ea2a98e3a4a2..56bfdb016040 100644
--- a/drivers/net/wireless/iwlegacy/iwl-4965.h
+++ b/drivers/net/wireless/iwlegacy/iwl-4965.h
@@ -163,8 +163,8 @@ static inline u32 il4965_tx_status_to_mac80211(u32 status)
163static inline bool il4965_is_tx_success(u32 status) 163static inline bool il4965_is_tx_success(u32 status)
164{ 164{
165 status &= TX_STATUS_MSK; 165 status &= TX_STATUS_MSK;
166 return (status == TX_STATUS_SUCCESS) || 166 return (status == TX_STATUS_SUCCESS ||
167 (status == TX_STATUS_DIRECT_DONE); 167 status == TX_STATUS_DIRECT_DONE);
168} 168}
169 169
170u8 il4965_toggle_tx_ant(struct il_priv *il, u8 ant_idx, u8 valid); 170u8 il4965_toggle_tx_ant(struct il_priv *il, u8 ant_idx, u8 valid);