mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
ath9k: allow setting arbitrary antenna masks on AR9003+
Cc: [email protected] Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
24171dd920
commit
fea92cbf08
1 changed files with 3 additions and 0 deletions
|
|
@ -1826,6 +1826,9 @@ static u32 fill_chainmask(u32 cap, u32 new)
|
|||
|
||||
static bool validate_antenna_mask(struct ath_hw *ah, u32 val)
|
||||
{
|
||||
if (AR_SREV_9300_20_OR_LATER(ah))
|
||||
return true;
|
||||
|
||||
switch (val & 0x7) {
|
||||
case 0x1:
|
||||
case 0x3:
|
||||
|
|
|
|||
Loading…
Reference in a new issue