diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 712eea9d398f..080b1fcae5fa 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -88,7 +88,7 @@ int rt2x00lib_enable_radio(struct rt2x00_dev *rt2x00dev) | |||
88 | rt2x00queue_start_queues(rt2x00dev); | 88 | rt2x00queue_start_queues(rt2x00dev); |
89 | rt2x00link_start_tuner(rt2x00dev); | 89 | rt2x00link_start_tuner(rt2x00dev); |
90 | rt2x00link_start_agc(rt2x00dev); | 90 | rt2x00link_start_agc(rt2x00dev); |
91 | if (test_bit(CAPABILITY_VCO_RECALIBRATION, &rt2x00dev->cap_flags)) | 91 | if (rt2x00_has_cap_vco_recalibration(rt2x00dev)) |
92 | rt2x00link_start_vcocal(rt2x00dev); | 92 | rt2x00link_start_vcocal(rt2x00dev); |
93 | 93 | ||
94 | /* | 94 | /* |
@@ -113,7 +113,7 @@ void rt2x00lib_disable_radio(struct rt2x00_dev *rt2x00dev) | |||
113 | * Stop all queues | 113 | * Stop all queues |
114 | */ | 114 | */ |
115 | rt2x00link_stop_agc(rt2x00dev); | 115 | rt2x00link_stop_agc(rt2x00dev); |
116 | if (test_bit(CAPABILITY_VCO_RECALIBRATION, &rt2x00dev->cap_flags)) | 116 | if (rt2x00_has_cap_vco_recalibration(rt2x00dev)) |
117 | rt2x00link_stop_vcocal(rt2x00dev); | 117 | rt2x00link_stop_vcocal(rt2x00dev); |
118 | rt2x00link_stop_tuner(rt2x00dev); | 118 | rt2x00link_stop_tuner(rt2x00dev); |
119 | rt2x00queue_stop_queues(rt2x00dev); | 119 | rt2x00queue_stop_queues(rt2x00dev); |
@@ -234,7 +234,7 @@ void rt2x00lib_beacondone(struct rt2x00_dev *rt2x00dev) | |||
234 | * here as they will fetch the next beacon directly prior to | 234 | * here as they will fetch the next beacon directly prior to |
235 | * transmission. | 235 | * transmission. |
236 | */ | 236 | */ |
237 | if (test_bit(CAPABILITY_PRE_TBTT_INTERRUPT, &rt2x00dev->cap_flags)) | 237 | if (rt2x00_has_cap_pre_tbtt_interrupt(rt2x00dev)) |
238 | return; | 238 | return; |
239 | 239 | ||
240 | /* fetch next beacon */ | 240 | /* fetch next beacon */ |
@@ -358,7 +358,7 @@ void rt2x00lib_txdone(struct queue_entry *entry, | |||
358 | * mac80211 will expect the same data to be present it the | 358 | * mac80211 will expect the same data to be present it the |
359 | * frame as it was passed to us. | 359 | * frame as it was passed to us. |
360 | */ | 360 | */ |
361 | if (test_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags)) | 361 | if (rt2x00_has_cap_hw_crypto(rt2x00dev)) |
362 | rt2x00crypto_tx_insert_iv(entry->skb, header_length); | 362 | rt2x00crypto_tx_insert_iv(entry->skb, header_length); |
363 | 363 | ||
364 | /* | 364 | /* |