diff options
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 76ced6dcee05..ad90c86810d7 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c | |||
@@ -681,7 +681,7 @@ void rt2800_txdone_entry(struct queue_entry *entry, u32 status) | |||
681 | * confuse the rate control algortihm by providing clearly wrong | 681 | * confuse the rate control algortihm by providing clearly wrong |
682 | * data. | 682 | * data. |
683 | */ | 683 | */ |
684 | if (aggr == 1 && ampdu == 0 && real_mcs != mcs) { | 684 | if (unlikely(aggr == 1 && ampdu == 0 && real_mcs != mcs)) { |
685 | skbdesc->tx_rate_idx = real_mcs; | 685 | skbdesc->tx_rate_idx = real_mcs; |
686 | mcs = real_mcs; | 686 | mcs = real_mcs; |
687 | } | 687 | } |