Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109981623
D48239.id148508.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
749 B
Referenced Files
None
Subscribers
None
D48239.id148508.diff
View Options
diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c
--- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c
+++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c
@@ -43,11 +43,10 @@
ar9300SetChainMasks(struct ath_hal *ah, uint32_t tx_chainmask,
uint32_t rx_chainmask)
{
+ HAL_CAPABILITIES *pCap = &AH_PRIVATE(ah)->ah_caps;
- AH9300(ah)->ah_tx_chainmask =
- tx_chainmask & AH_PRIVATE(ah)->ah_caps.halTxChainMask;
- AH9300(ah)->ah_rx_chainmask =
- rx_chainmask & AH_PRIVATE(ah)->ah_caps.halRxChainMask;
+ AH9300(ah)->ah_tx_chainmask = tx_chainmask & pCap->halTxChainMask;
+ AH9300(ah)->ah_rx_chainmask = rx_chainmask & pCap->halRxChainMask;
}
static u_int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 13, 1:24 AM (3 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15635105
Default Alt Text
D48239.id148508.diff (749 B)
Attached To
Mode
D48239: ath_hal_ar9300: quick refactor of tx/rx chain handling
Attached
Detach File
Event Timeline
Log In to Comment