| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 02 3c 00 00 01 46 08 06 00 00 00 6e 5e 45 | .PNG........IHDR...<...F.....n^E |
| 0020 | a0 00 00 00 09 70 48 59 73 00 00 0b 13 00 00 0b 13 01 00 9a 9c 18 00 00 01 d5 69 54 58 74 58 4d | .....pHYs.................iTXtXM |
| 0040 | 4c 3a 63 6f 6d 2e 61 64 6f 62 65 2e 78 6d 70 00 00 00 00 00 3c 78 3a 78 6d 70 6d 65 74 61 20 78 | L:com.adobe.xmp.....<x:xmpmeta.x |
| 0060 | 6d 6c 6e 73 3a 78 3d 22 61 64 6f 62 65 3a 6e 73 3a 6d 65 74 61 2f 22 20 78 3a 78 6d 70 74 6b 3d | mlns:x="adobe:ns:meta/".x:xmptk= |
| 0080 | 22 58 4d 50 20 43 6f 72 65 20 35 2e 31 2e 32 22 3e 0a 20 20 20 3c 72 64 66 3a 52 44 46 20 78 6d | "XMP.Core.5.1.2">....<rdf:RDF.xm |
| 00a0 | 6c 6e 73 3a 72 64 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f | lns:rdf="http://www.w3.org/1999/ |
| 00c0 | 30 32 2f 32 32 2d 72 64 66 2d 73 79 6e 74 61 78 2d 6e 73 23 22 3e 0a 20 20 20 20 20 20 3c 72 64 | 02/22-rdf-syntax-ns#">.......<rd |
| 00e0 | 66 3a 44 65 73 63 72 69 70 74 69 6f 6e 20 72 64 66 3a 61 62 6f 75 74 3d 22 22 0a 20 20 20 20 20 | f:Description.rdf:about=""...... |
| 0100 | 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 74 69 66 66 3d 22 68 74 74 70 3a 2f 2f 6e 73 2e 61 64 6f | .......xmlns:tiff="http://ns.ado |
| 0120 | 62 65 2e 63 6f 6d 2f 74 69 66 66 2f 31 2e 30 2f 22 3e 0a 20 20 20 20 20 20 20 20 20 3c 74 69 66 | be.com/tiff/1.0/">..........<tif |
| 0140 | 66 3a 43 6f 6d 70 72 65 73 73 69 6f 6e 3e 35 3c 2f 74 69 66 66 3a 43 6f 6d 70 72 65 73 73 69 6f | f:Compression>5</tiff:Compressio |
| 0160 | 6e 3e 0a 20 20 20 20 20 20 20 20 20 3c 74 69 66 66 3a 50 68 6f 74 6f 6d 65 74 72 69 63 49 6e 74 | n>..........<tiff:PhotometricInt |
| 0180 | 65 72 70 72 65 74 61 74 69 6f 6e 3e 32 3c 2f 74 69 66 66 3a 50 68 6f 74 6f 6d 65 74 72 69 63 49 | erpretation>2</tiff:PhotometricI |
| 01a0 | 6e 74 65 72 70 72 65 74 61 74 69 6f 6e 3e 0a 20 20 20 20 20 20 20 20 20 3c 74 69 66 66 3a 4f 72 | nterpretation>..........<tiff:Or |
| 01c0 | 69 65 6e 74 61 74 69 6f 6e 3e 31 3c 2f 74 69 66 66 3a 4f 72 69 65 6e 74 61 74 69 6f 6e 3e 0a 20 | ientation>1</tiff:Orientation>.. |
| 01e0 | 20 20 20 20 20 3c 2f 72 64 66 3a 44 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 3c 2f 72 64 66 | .....</rdf:Description>....</rdf |
| 0200 | 3a 52 44 46 3e 0a 3c 2f 78 3a 78 6d 70 6d 65 74 61 3e 0a 6d 05 0b 9e 00 00 40 00 49 44 41 54 78 | :RDF>.</x:xmpmeta>.m.....@.IDATx |
| 0220 | 01 ec 5d 07 60 16 55 b6 3e e9 21 8d 84 84 84 4e 42 ef bd 83 54 e9 d2 bb d2 ec 75 75 dd f5 ed ea | ..].`.U.>.!....NB...T.....uu.... |
| 0240 | ba 96 d5 b7 ee ae ee be b5 8b 1d 0b 2a 20 d2 7b 11 90 de 7b ef 04 08 bd a4 f7 f7 7d e7 cf 0d 3f | ............*..{...{.......}...? |
| 0260 | 31 a1 48 42 da bd 3a 99 99 3b 77 ee dc 39 33 fc f7 9b 73 be 73 8e 4b 3a 8a d8 62 25 60 25 60 25 | 1.HB..:..;w..93...s.s.K:..b%`%`% |
| 0280 | 60 25 60 25 60 25 60 25 50 84 25 e0 5a 84 ef cd de 9a 95 80 95 80 95 80 95 80 95 80 95 80 95 80 | `%`%`%`%P.%.Z................... |
| 02a0 | 4a c0 02 1e fb 22 58 09 58 09 58 09 58 09 58 09 58 09 14 79 09 58 c0 53 e4 1f b1 bd 41 2b 01 2b | J...."X.X.X.X.X.X..y.X.S....A+.+ |
| 02c0 | 01 2b 01 2b 01 2b 01 2b 01 0b 78 ec 3b 60 25 60 25 60 25 60 25 60 25 60 25 50 e4 25 e0 5e e4 ef | .+.+.+.+..x.;`%`%`%`%`%`%P.%.^.. |
| 02e0 | d0 de a0 95 40 31 95 80 b3 3f 82 f3 76 31 15 47 ae de b6 8b 8b 4b 66 7f ce db 99 95 76 c3 4a c0 | ....@1...?..v1.G.....Kf.....v.J. |
| 0300 | 4a a0 c0 49 c0 02 9e 02 f7 48 ec 80 ac 04 6e 4e 02 04 31 5c 52 53 53 75 cd b3 4c 5d d6 ed 9b eb | J..I.....H....nN..1\RSSu..L].... |
| 0320 | d1 b6 ba 55 09 10 ec 18 c0 e3 bc ed ea ea 2a 5c 9c eb 6e b5 6f db de 4a c0 4a 20 77 25 60 01 4f | ...U..........*\..n.o..J.J.w%`.O |
| 0340 | ee ca 33 5f 7b 4b 4b 4b 93 e9 d3 a7 cb 80 01 03 6e 7a 1c 4b 96 2c 91 2f bf fc 52 76 ef de 2d 65 | ..3_{KKK........nz.K.,./..Rv..-e |
| 0360 | cb 96 95 b1 63 c7 ca a0 41 83 6e fa fc bc 6e 98 92 92 a2 13 07 27 8f 89 13 27 8a b7 b7 b7 f4 eb | ....c...A.n...n......'...'...... |
| 0380 | d7 2f af 2f 5b a0 fb e7 73 36 20 c7 00 1e d6 71 9b f2 62 e1 36 0b eb 6d c9 3b 09 f0 bd 64 31 a0 | ././[...s6.....q..b.6..m.;...d1. |
| 03a0 | c7 cd cd 4d b8 38 03 1e b3 6f da e4 dd 68 6c cf 56 02 56 02 d7 93 80 05 3c d7 93 4e 21 3b f6 f1 | ...M.8...o...hl.V.V.....<..N!;.. |
| 03c0 | c7 1f cb 2b af bc 72 d3 80 e7 d3 4f 3f 95 e7 9f 7f 5e 5e 7b ed 35 79 ec b1 c7 64 f5 ea d5 f2 bb | ...+..r....O?....^^{.5y...d..... |
| 03e0 | df fd 4e 8e 1d 3b 26 cf 3e fb 6c 81 b8 fb a1 43 87 ca 3d f7 dc 23 0f 3c f0 40 e6 44 52 20 06 96 | ..N..;&.>.l....C..=..#.<.@.DR... |
| 0400 | 0f 83 20 88 31 60 87 6b b3 dd b1 63 47 05 ac 66 48 06 ec 98 7d bb ce 7b 09 64 05 33 dc 7f e3 8d | ....1`.k...cG..fH...}..{.d.3.... |
| 0420 | 37 e4 91 47 1e 51 f0 49 00 64 80 4f de 8f c6 5e c1 4a c0 4a 20 3b 09 58 c0 93 9d 54 0a 59 dd 81 | 7..G.Q.I.d.O...^.J.J.;.X...T.Y.. |
| 0440 | 03 07 a4 5d bb 76 72 fa f4 69 29 5d ba f4 35 a3 bf 74 e9 92 9c 38 71 42 ea d6 ad 7b 4d fd 85 0b | ...].vr..i)]..5..t...8qB...{M... |
| 0460 | 17 e4 7f fe e7 7f 64 d2 a4 49 d2 ad 5b 37 3d d6 b6 6d 5b a9 5c b9 b2 3c fd f4 d3 f2 cc 33 cf e8 | ......d..I..[7=..m[.\..<.....3.. |
| 0480 | 57 2a fb 5c b0 60 81 7e c1 f6 ea d5 4b 4a 95 2a a5 6d 97 2f 5f 2e cd 9a 35 93 95 2b 57 ca c5 8b | W*.\.`.~....KJ.*.m./_...5..+W... |
| 04a0 | 17 a5 4b 97 2e 12 1c 1c 2c 97 2f 5f 96 bd 7b f7 4a d5 aa 55 65 f1 e2 c5 12 18 18 28 77 df 7d b7 | ..K.....,./_..{.J..Ue......(w.}. |
| 04c0 | f6 c5 13 63 62 62 84 5a 25 16 4e d4 01 01 01 ba cd 3f eb d7 af 97 2d 5b b6 08 c7 51 a7 4e 1d d9 | ...cbb.Z%.N......?....-[...Q.N.. |
| 04e0 | bf 7f bf de d3 ce 9d 3b f5 1e 1a 37 6e ac 93 86 39 61 f3 e6 cd b2 6e dd 3a a9 54 a9 92 f4 e8 d1 | .......;...7n...9a....n.:.T..... |
| 0500 | 43 c7 78 a3 eb 9b 73 0b e3 da 00 1c ae 93 93 93 55 cb 93 94 94 a4 60 a7 75 e7 6a d2 ee 9e c6 85 | C.x...s.........U.....`.u.j..... |
| 0520 | f1 b6 8a e4 98 3f 79 63 16 fe 6d fc 22 63 c6 8c 11 77 77 77 5d 0c 28 32 5a a1 22 79 e3 f6 a6 ac | .....?yc..m."c...www].(2Z."y.... |
| 0540 | 04 0a b0 04 5c f0 35 68 23 2d 17 e0 07 74 33 43 e3 04 48 20 b1 71 e3 46 19 36 6c 98 9c 39 73 26 | ....\.5h#-...t3C..H..q.F.6l..9s& |
| 0560 | f3 34 02 9a 3f fe f1 8f 72 fc f8 f1 cc 3a 6e d0 f4 45 60 73 f4 e8 d1 6b ea 9d 77 b6 6d db a6 40 | .4..?...r....:n..E`s...k..w.m..@ |
| 0580 | a6 75 eb d6 6a ee 9a 35 6b 96 2c 5d ba 54 aa 57 af 2e 15 2a 54 50 50 53 a5 4a 15 05 2a 34 a5 d0 | .u..j..5k.,].T.W...*TPPS.J..*4.. |
| 05a0 | 2c b6 66 cd 1a 19 3e 7c b8 b6 6f d4 a8 91 7c ff fd f7 f2 d4 53 4f c9 df ff fe 77 05 2d 9d 3a 75 | ,.f...>|..o...|.....SO....w.-.:u |
| 05c0 | 92 6a d5 aa 29 30 8a 8c 8c 54 50 c4 fd b7 de 7a 4b a8 a1 a2 36 67 ce 9c 39 aa 71 22 68 a2 a6 29 | .j..)0...TP....zK...6g..9.q"h..) |
| 05e0 | 3c 3c 5c cf e7 bd f8 f9 f9 c9 eb af bf 2e ff fd ef 7f e5 e5 97 5f--- a/drivers/net/wireless/ath/ath9k/mac.c
+++ b/drivers/net/wireless/ath/ath9k/mac.c
@@ -117,12 +117,11 @@ EXPORT_SYMBOL(ath9k_hw_numtxpending);
bool ath9k_hw_updatetxtriglevel(struct ath_hw *ah, bool bIncTrigLevel)
{
u32 txcfg, curLevel, newLevel;
- enum ath9k_int omask;
if (ah->tx_trig_level >= ah->config.max_txtrig_level)
return false;
- omask = ath9k_hw_set_interrupts(ah, ah->imask & ~ATH9K_INT_GLOBAL);
+ ath9k_hw_disable_interrupts(ah);
txcfg = REG_READ(ah, AR_TXCFG);
curLevel = MS(txcfg, AR_FTRIG);
@@ -136,7 +135,7 @@ bool ath9k_hw_updatetxtriglevel(struct a
REG_WRITE(ah, AR_TXCFG,
(txcfg & ~AR_FTRIG) | SM(newLevel, AR_FTRIG));
- ath9k_hw_set_interrupts(ah, omask);
+ ath9k_hw_enable_interrupts(ah);
ah->tx_trig_level = newLevel;
@@ -849,28 +848,59 @@ bool ath9k_hw_intrpend(struct ath_hw *ah
}
EXPORT_SYMBOL(ath9k_hw_intrpend);
-enum ath9k_int ath9k_hw_set_interrupts(struct ath_hw *ah,
- enum ath9k_int ints)
+void ath9k_hw_disable_interrupts(struct ath_hw *ah)
+{
+ struct ath_common *common = ath9k_hw_common(ah);
+
+ ath_print(common, ATH_DBG_INTERRUPT, "disable IER\n");
+ REG_WRITE(ah, AR_IER, AR_IER_DISABLE);
+ (void) REG_READ(ah, AR_IER);
+ if (!AR_SREV_9100(ah)) {
+ REG_WRITE(ah, AR_INTR_ASYNC_ENABLE, 0);
+ (void) REG_READ(ah, AR_INTR_ASYNC_ENABLE);
+
+ REG_WRITE(ah, AR_INTR_SYNC_ENABLE, 0);
+ (void) REG_READ(ah, AR_INTR_SYNC_ENABLE);
+ }
+}
+EXPORT_SYMBOL(ath9k_hw_disable_interrupts);
+
+void ath9k_hw_enable_interrupts(struct ath_hw *ah)
+{
+ struct ath_common *common = ath9k_hw_common(ah);
+
+ if (!(ah->imask & ATH9K_INT_GLOBAL))
+ return;
+
+ ath_print(common, ATH_DBG_INTERRUPT, "enable IER\n");
+ REG_WRITE(ah, AR_IER, AR_IER_ENABLE);
+ if (!AR_SREV_9100(ah)) {
+ REG_WRITE(ah, AR_INTR_ASYNC_ENABLE,
+ AR_INTR_MAC_IRQ);
+ REG_WRITE(ah, AR_INTR_ASYNC_MASK, AR_INTR_MAC_IRQ);
+
+
+ REG_WRITE(ah, AR_INTR_SYNC_ENABLE,
+ AR_INTR_SYNC_DEFAULT);
+ REG_WRITE(ah, AR_INTR_SYNC_MASK,
+ AR_INTR_SYNC_DEFAULT);
+ }
+ ath_print(common, ATH_DBG_INTERRUPT, "AR_IMR 0x%x IER 0x%x\n",
+ REG_READ(ah, AR_IMR), REG_READ(ah, AR_IER));
+}
+EXPORT_SYMBOL(ath9k_hw_enable_interrupts);
+
+void ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints)
{
enum ath9k_int omask = ah->imask;
u32 mask, mask2;
struct ath9k_hw_capabilities *pCap = &ah->caps;
struct ath_common *common = ath9k_hw_common(ah);
- ath_print(common, ATH_DBG_INTERRUPT, "0x%x => 0x%x\n", omask, ints);
-
- if (omask & ATH9K_INT_GLOBAL) {
- ath_print(common, ATH_DBG_INTERRUPT, "disable IER\n");
- REG_WRITE(ah, AR_IER, AR_IER_DISABLE);
- (void) REG_READ(ah, AR_IER);
- if (!AR_SREV_9100(ah)) {
- REG_WRITE(ah, AR_INTR_ASYNC_ENABLE, 0);
- (void) REG_READ(ah, AR_INTR_ASYNC_ENABLE);
+ if (!(ints & ATH9K_INT_GLOBAL))
+ ath9k_hw_enable_interrupts(ah);
- REG_WRITE(ah, AR_INTR_SYNC_ENABLE, 0);
- (void) REG_READ(ah, AR_INTR_SYNC_ENABLE);
- }
- }
+ ath_print(common, ATH_DBG_INTERRUPT, "0x%x => 0x%x\n", omask, ints);
/* TODO: global int Ref count */
mask = ints & ATH9K_INT_COMMON;
@@ -946,24 +976,8 @@ enum ath9k_int ath9k_hw_set_interrupts(s
REG_CLR_BIT(ah, AR_IMR_S5, AR_IMR_S5_TIM_TIMER);
}
- if (ints & ATH9K_INT_GLOBAL) {
- ath_print(common, ATH_DBG_INTERRUPT, "enable IER\n");
- REG_WRITE(ah, AR_IER, AR_IER_ENABLE);
- if (!AR_SREV_9100(ah)) {
- REG_WRITE(ah, AR_INTR_ASYNC_ENABLE,
- AR_INTR_MAC_IRQ);
- REG_WRITE(ah, AR_INTR_ASYNC_MASK, AR_INTR_MAC_IRQ);
-
-
- REG_WRITE(ah, AR_INTR_SYNC_ENABLE,
- AR_INTR_SYNC_DEFAULT);
- REG_WRITE(ah, AR_INTR_SYNC_MASK,
- AR_INTR_SYNC_DEFAULT);
- }
- ath_print(common, ATH_DBG_INTERRUPT, "AR_IMR 0x%x IER 0x%x\n",
- REG_READ(ah, AR_IMR), REG_READ(ah, AR_IER));
- }
+ ath9k_hw_enable_interrupts(ah);
- return omask;
+ return;
}
EXPORT_SYMBOL(ath9k_hw_set_interrupts);
--- a/drivers/net/wireless/ath/ath9k/mac.h
+++ b/drivers/net/wireless/ath/ath9k/mac.h
@@ -669,6 +669,7 @@ enum ath9k_key_type {
struct ath_hw;
struct ath9k_channel;
+enum ath9k_int;
u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q);
void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp);
@@ -700,8 +701,9 @@ int ath9k_hw_beaconq_setup(struct ath_hw
/* Interrupt Handling */
bool ath9k_hw_intrpend(struct ath_hw *ah);
-enum ath9k_int ath9k_hw_set_interrupts(struct ath_hw *ah,
- enum ath9k_int ints);
+void ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints);
+void ath9k_hw_enable_interrupts(struct ath_hw *ah);
+void ath9k_hw_disable_interrupts(struct ath_hw *ah);
void ar9002_hw_attach_mac_ops(struct ath_hw *ah);
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -237,7 +237,7 @@ int ath_set_channel(struct ath_softc *sc
* hardware at the new frequency, and then re-enable
* the relevant bits of the h/w.
*/
- ath9k_hw_set_interrupts(ah, 0);
+ ath9k_hw_disable_interrupts(ah);
ath_drain_all_txq(sc, false);
stopped = ath_stoprecv(sc);
@@ -644,7 +644,7 @@ void ath9k_tasklet(unsigned long data)
ath_gen_timer_isr(sc->sc_ah);
/* re-enable hardware interrupt */
- ath9k_hw_set_interrupts(ah, ah->imask);
+ ath9k_hw_enable_interrupts(ah);
ath9k_ps_restore(sc);
}
@@ -743,7 +743,7 @@ irqreturn_t ath_isr(int irq, void *dev)
* interrupt; otherwise it will continue to
* fire.
*/
- ath9k_hw_set_interrupts(ah, 0);
+ ath9k_hw_disable_interrupts(ah);
/*
* Let the hal handle the event. We assume
* it will clear whatever condition caused
@@ -752,7 +752,7 @@ irqreturn_t ath_isr(int irq, void *dev)
spin_lock(&common->cc_lock);
ath9k_hw_proc_mib_event(ah);
spin_unlock(&common->cc_lock);
- ath9k_hw_set_interrupts(ah, ah->imask);
+ ath9k_hw_enable_interrupts(ah);
}
if (!(ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP))
@@ -769,8 +769,8 @@ chip_reset:
ath_debug_stat_interrupt(sc, status);
if (sched) {
- /* turn off every interrupt except SWBA */
- ath9k_hw_set_interrupts(ah, (ah->imask & ATH9K_INT_SWBA));
+ /* turn off every interrupt */
+ ath9k_hw_disable_interrupts(ah);
tasklet_schedule(&sc->intr_tq);
}
@@ -925,7 +925,7 @@ void ath_radio_disable(struct ath_softc
}
/* Disable interrupts */
- ath9k_hw_set_interrupts(ah, 0);
+ ath9k_hw_disable_interrupts(ah);
ath_drain_all_txq(sc, false); /* clear pending tx frames */
ath_stoprecv(sc); /* turn off frame recv */
@@ -962,7 +962,7 @@ int ath_reset(struct ath_softc *sc, bool
ieee80211_stop_queues(hw);
- ath9k_hw_set_interrupts(ah, 0);
+ ath9k_hw_disable_interrupts(ah);
ath_drain_all_txq(sc, retry_tx);
ath_stoprecv(sc);
ath_flushrecv(sc);
@@ -1367,7 +1367,7 @@ static void ath9k_stop(struct ieee80211_
/* make sure h/w will not generate any interrupt
* before setting the invalid flag. */
- ath9k_hw_set_interrupts(ah, 0);
+ ath9k_hw_disable_interrupts(ah);
if (!(sc->sc_flags & SC_OP_INVALID)) {
ath_drain_all_txq(sc, false);
--- a/drivers/net/wireless/ath/ath9k/beacon.c
+++ b/drivers/net/wireless/ath/ath9k/beacon.c
@@ -500,10 +500,10 @@ static void ath_beacon_config_ap(struct
/* Set the computed AP beacon timers */
- ath9k_hw_set_interrupts(ah, 0);
+ ath9k_hw_disable_interrupts(ah);
ath9k_beacon_init(sc, nexttbtt, intval);
sc->beacon.bmisscnt = 0;
- ath9k_hw_set_interrupts(ah, ah->imask);
+ ath9k_hw_enable_interrupts(ah);
/* Clear the reset TSF flag, so that subsequent beacon updation
will not reset the HW TSF. */
@@ -635,7 +635,7 @@ static void ath_beacon_config_sta(struct
/* Set the computed STA beacon timers */
- ath9k_hw_set_interrupts(ah, 0);
+ ath9k_hw_disable_interrupts(ah);
ath9k_hw_set_sta_beacon_timers(ah, &bs);
ah->imask |= ATH9K_INT_BMISS;
ath9k_hw_set_interrupts(ah, ah->imask);
@@ -683,10 +683,10 @@ static void ath_beacon_config_adhoc(stru
/* Set the computed ADHOC beacon timers */
- ath9k_hw_set_interrupts(ah, 0);
+ ath9k_hw_disable_interrupts(ah);
ath9k_beacon_init(sc, nexttbtt, intval);
sc->beacon.bmisscnt = 0;
- ath9k_hw_set_interrupts(ah, ah->imask);
+ ath9k_hw_enable_interrupts(ah);
}
void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif)
--- a/drivers/net/wireless/ath/ath9k/gpio.c
+++ b/drivers/net/wireless/ath/ath9k/gpio.c
@@ -275,7 +275,7 @@ static void ath9k_gen_timer_start(struct
ath9k_hw_gen_timer_start(ah, timer, timer_next, timer_period);
if ((ah->imask & ATH9K_INT_GENTIMER) == 0) {
- ath9k_hw_set_interrupts(ah, 0);
+ ath9k_hw_disable_interrupts(ah);
ah->imask |= ATH9K_INT_GENTIMER;
ath9k_hw_set_interrupts(ah, ah->imask);
}
@@ -289,7 +289,7 @@ static void ath9k_gen_timer_stop(struct
/* if no timer is enabled, turn off interrupt mask */
if (timer_table->timer_mask.val == 0) {
- ath9k_hw_set_interrupts(ah, 0);
+ ath9k_hw_disable_interrupts(ah);
ah->imask &= ~ATH9K_INT_GENTIMER;
ath9k_hw_set_interrupts(ah, ah->imask);
}
|