Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
drivers
/
net
/
wireless
/
ath
/
ath9k
/
ar9002_phy.c
diff --git
a/kernel/drivers/net/wireless/ath/ath9k/ar9002_phy.c
b/kernel/drivers/net/wireless/ath/ath9k/ar9002_phy.c
index
db66245
..
53d7445
100644
(file)
--- a/
kernel/drivers/net/wireless/ath/ath9k/ar9002_phy.c
+++ b/
kernel/drivers/net/wireless/ath/ath9k/ar9002_phy.c
@@
-178,14
+178,9
@@
static void ar9002_hw_spur_mitigate(struct ath_hw *ah,
int i;
struct chan_centers centers;
int i;
struct chan_centers centers;
- int8_t mask_m[123];
- int8_t mask_p[123];
int cur_bb_spur;
bool is2GHz = IS_CHAN_2GHZ(chan);
int cur_bb_spur;
bool is2GHz = IS_CHAN_2GHZ(chan);
- memset(&mask_m, 0, sizeof(int8_t) * 123);
- memset(&mask_p, 0, sizeof(int8_t) * 123);
-
ath9k_hw_get_channel_centers(ah, chan, ¢ers);
freq = centers.synth_center;
ath9k_hw_get_channel_centers(ah, chan, ¢ers);
freq = centers.synth_center;