diff options
Diffstat (limited to 'drivers/net/wireless/ath')
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h b/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h index 28fd99203f64..bdee2ed67219 100644 --- a/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h | |||
@@ -519,7 +519,7 @@ static const u32 ar9580_1p0_mac_core[][2] = { | |||
519 | {0x00008258, 0x00000000}, | 519 | {0x00008258, 0x00000000}, |
520 | {0x0000825c, 0x40000000}, | 520 | {0x0000825c, 0x40000000}, |
521 | {0x00008260, 0x00080922}, | 521 | {0x00008260, 0x00080922}, |
522 | {0x00008264, 0x9bc00010}, | 522 | {0x00008264, 0x9d400010}, |
523 | {0x00008268, 0xffffffff}, | 523 | {0x00008268, 0xffffffff}, |
524 | {0x0000826c, 0x0000ffff}, | 524 | {0x0000826c, 0x0000ffff}, |
525 | {0x00008270, 0x00000000}, | 525 | {0x00008270, 0x00000000}, |
diff --git a/drivers/net/wireless/ath/ath9k/dfs_pattern_detector.c b/drivers/net/wireless/ath/ath9k/dfs_pattern_detector.c index 18413123efd7..491305c81fce 100644 --- a/drivers/net/wireless/ath/ath9k/dfs_pattern_detector.c +++ b/drivers/net/wireless/ath/ath9k/dfs_pattern_detector.c | |||
@@ -145,14 +145,14 @@ channel_detector_create(struct dfs_pattern_detector *dpd, u16 freq) | |||
145 | struct channel_detector *cd; | 145 | struct channel_detector *cd; |
146 | struct ath_common *common = ath9k_hw_common(dpd->ah); | 146 | struct ath_common *common = ath9k_hw_common(dpd->ah); |
147 | 147 | ||
148 | cd = kmalloc(sizeof(*cd), GFP_KERNEL); | 148 | cd = kmalloc(sizeof(*cd), GFP_ATOMIC); |
149 | if (cd == NULL) | 149 | if (cd == NULL) |
150 | goto fail; | 150 | goto fail; |
151 | 151 | ||
152 | INIT_LIST_HEAD(&cd->head); | 152 | INIT_LIST_HEAD(&cd->head); |
153 | cd->freq = freq; | 153 | cd->freq = freq; |
154 | sz = sizeof(cd->detectors) * dpd->num_radar_types; | 154 | sz = sizeof(cd->detectors) * dpd->num_radar_types; |
155 | cd->detectors = kzalloc(sz, GFP_KERNEL); | 155 | cd->detectors = kzalloc(sz, GFP_ATOMIC); |
156 | if (cd->detectors == NULL) | 156 | if (cd->detectors == NULL) |
157 | goto fail; | 157 | goto fail; |
158 | 158 | ||
diff --git a/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c b/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c index 344b5d5d369d..5ba4b6fe37c0 100644 --- a/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c +++ b/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c | |||
@@ -196,7 +196,7 @@ static bool pulse_queue_enqueue(struct pri_detector *pde, u64 ts) | |||
196 | { | 196 | { |
197 | struct pulse_elem *p = pool_get_pulse_elem(); | 197 | struct pulse_elem *p = pool_get_pulse_elem(); |
198 | if (p == NULL) { | 198 | if (p == NULL) { |
199 | p = kmalloc(sizeof(*p), GFP_KERNEL); | 199 | p = kmalloc(sizeof(*p), GFP_ATOMIC); |
200 | if (p == NULL) { | 200 | if (p == NULL) { |
201 | DFS_POOL_STAT_INC(pulse_alloc_error); | 201 | DFS_POOL_STAT_INC(pulse_alloc_error); |
202 | return false; | 202 | return false; |
@@ -277,7 +277,7 @@ static bool pseq_handler_create_sequences(struct pri_detector *pde, | |||
277 | ps.deadline_ts = ps.first_ts + ps.dur; | 277 | ps.deadline_ts = ps.first_ts + ps.dur; |
278 | new_ps = pool_get_pseq_elem(); | 278 | new_ps = pool_get_pseq_elem(); |
279 | if (new_ps == NULL) { | 279 | if (new_ps == NULL) { |
280 | new_ps = kmalloc(sizeof(*new_ps), GFP_KERNEL); | 280 | new_ps = kmalloc(sizeof(*new_ps), GFP_ATOMIC); |
281 | if (new_ps == NULL) { | 281 | if (new_ps == NULL) { |
282 | DFS_POOL_STAT_INC(pseq_alloc_error); | 282 | DFS_POOL_STAT_INC(pseq_alloc_error); |
283 | return false; | 283 | return false; |
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index 716058b67557..a47f5e05fc04 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c | |||
@@ -796,7 +796,7 @@ static int ath9k_init_firmware_version(struct ath9k_htc_priv *priv) | |||
796 | * required version. | 796 | * required version. |
797 | */ | 797 | */ |
798 | if (priv->fw_version_major != MAJOR_VERSION_REQ || | 798 | if (priv->fw_version_major != MAJOR_VERSION_REQ || |
799 | priv->fw_version_minor != MINOR_VERSION_REQ) { | 799 | priv->fw_version_minor < MINOR_VERSION_REQ) { |
800 | dev_err(priv->dev, "ath9k_htc: Please upgrade to FW version %d.%d\n", | 800 | dev_err(priv->dev, "ath9k_htc: Please upgrade to FW version %d.%d\n", |
801 | MAJOR_VERSION_REQ, MINOR_VERSION_REQ); | 801 | MAJOR_VERSION_REQ, MINOR_VERSION_REQ); |
802 | return -EINVAL; | 802 | return -EINVAL; |