diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00mac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c index 6a66021d8f65..1b3edef9e3d2 100644 --- a/drivers/net/wireless/rt2x00/rt2x00mac.c +++ b/drivers/net/wireless/rt2x00/rt2x00mac.c | |||
@@ -139,9 +139,9 @@ int rt2x00mac_tx(struct ieee80211_hw *hw, struct sk_buff *skb) | |||
139 | * either RTS or CTS-to-self frame and handles everything | 139 | * either RTS or CTS-to-self frame and handles everything |
140 | * inside the hardware. | 140 | * inside the hardware. |
141 | */ | 141 | */ |
142 | if ((tx_info->control.rates[0].flags & (IEEE80211_TX_RC_USE_RTS_CTS | | 142 | if (!rt2x00dev->ops->hw->set_rts_threshold && |
143 | IEEE80211_TX_RC_USE_CTS_PROTECT)) && | 143 | (tx_info->control.rates[0].flags & (IEEE80211_TX_RC_USE_RTS_CTS | |
144 | !rt2x00dev->ops->hw->set_rts_threshold) { | 144 | IEEE80211_TX_RC_USE_CTS_PROTECT))) { |
145 | if (rt2x00queue_available(queue) <= 1) | 145 | if (rt2x00queue_available(queue) <= 1) |
146 | goto exit_fail; | 146 | goto exit_fail; |
147 | 147 | ||