diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.c b/drivers/net/wireless/rt2x00/rt2x00queue.c index f4a951338f8f..67140e75608d 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.c +++ b/drivers/net/wireless/rt2x00/rt2x00queue.c | |||
@@ -314,9 +314,13 @@ static void rt2x00queue_create_tx_descriptor(struct queue_entry *entry, | |||
314 | } else | 314 | } else |
315 | txdesc->ifs = IFS_SIFS; | 315 | txdesc->ifs = IFS_SIFS; |
316 | 316 | ||
317 | /* | ||
318 | * Determine rate modulation. | ||
319 | */ | ||
317 | hwrate = rt2x00_get_rate(rate->hw_value); | 320 | hwrate = rt2x00_get_rate(rate->hw_value); |
321 | txdesc->rate_mode = RATE_MODE_CCK; | ||
318 | if (hwrate->flags & DEV_RATE_OFDM) | 322 | if (hwrate->flags & DEV_RATE_OFDM) |
319 | __set_bit(ENTRY_TXD_OFDM_RATE, &txdesc->flags); | 323 | txdesc->rate_mode = RATE_MODE_OFDM; |
320 | 324 | ||
321 | /* | 325 | /* |
322 | * Apply TX descriptor handling by components | 326 | * Apply TX descriptor handling by components |