mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
ath9k: Fix an operator typo in REG_DOMAIN_2GHZ_MASK
Incorrect operator causes the REG_DOMAIN_2GHZ_MASK to be zero which surely was not the goal of this definition. Mask out the 11a flags correctly. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
b657eade2f
commit
9d97f2e55e
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ enum {
|
|||
};
|
||||
|
||||
#define REG_DOMAIN_2GHZ_MASK (REQ_MASK & \
|
||||
(!(ADHOC_NO_11A | DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB)))
|
||||
(~(ADHOC_NO_11A | DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB)))
|
||||
#define REG_DOMAIN_5GHZ_MASK REQ_MASK
|
||||
|
||||
static struct reg_dmn_pair_mapping regDomainPairs[] = {
|
||||
|
|
Loading…
Reference in a new issue