diff options
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 8bcabefa86e0..dd440a07634e 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -505,10 +505,10 @@ ieee80211_tx_h_misc(struct ieee80211_tx_data *tx) | |||
505 | info->flags |= | 505 | info->flags |= |
506 | IEEE80211_TX_CTL_LONG_RETRY_LIMIT; | 506 | IEEE80211_TX_CTL_LONG_RETRY_LIMIT; |
507 | info->control.retry_limit = | 507 | info->control.retry_limit = |
508 | tx->local->long_retry_limit; | 508 | tx->local->hw.conf.long_frame_max_tx_count - 1; |
509 | } else { | 509 | } else { |
510 | info->control.retry_limit = | 510 | info->control.retry_limit = |
511 | tx->local->short_retry_limit; | 511 | tx->local->hw.conf.short_frame_max_tx_count - 1; |
512 | } | 512 | } |
513 | } else { | 513 | } else { |
514 | info->control.retry_limit = 1; | 514 | info->control.retry_limit = 1; |