diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-03-02 23:46:53 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-05 14:39:41 -0500 |
commit | 9546aae0863c12a3d00b1ed5cbd316520733200b (patch) | |
tree | b8984d25a39e44a9681851e324f85c6963dd8798 /drivers/net/wireless/ath9k/ath9k.h | |
parent | 9fc9ab0a6929c9f137747df0ecf294e9582607f9 (diff) |
ath9k: Cleanup beacon stuck processing
We never use SC_OP_NO_RESET, it is not configurable at all.
Remove all code that deals with this flag and make beacon
stuck processing simple.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath9k/ath9k.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/drivers/net/wireless/ath9k/ath9k.h b/drivers/net/wireless/ath9k/ath9k.h index f74ed7af31e0..f5d099f0ab4c 100644 --- a/drivers/net/wireless/ath9k/ath9k.h +++ b/drivers/net/wireless/ath9k/ath9k.h | |||
@@ -549,17 +549,16 @@ struct ath_rfkill { | |||
549 | #define SC_OP_TXAGGR BIT(3) | 549 | #define SC_OP_TXAGGR BIT(3) |
550 | #define SC_OP_CHAINMASK_UPDATE BIT(4) | 550 | #define SC_OP_CHAINMASK_UPDATE BIT(4) |
551 | #define SC_OP_FULL_RESET BIT(5) | 551 | #define SC_OP_FULL_RESET BIT(5) |
552 | #define SC_OP_NO_RESET BIT(6) | 552 | #define SC_OP_PREAMBLE_SHORT BIT(6) |
553 | #define SC_OP_PREAMBLE_SHORT BIT(7) | 553 | #define SC_OP_PROTECT_ENABLE BIT(7) |
554 | #define SC_OP_PROTECT_ENABLE BIT(8) | 554 | #define SC_OP_RXFLUSH BIT(8) |
555 | #define SC_OP_RXFLUSH BIT(9) | 555 | #define SC_OP_LED_ASSOCIATED BIT(9) |
556 | #define SC_OP_LED_ASSOCIATED BIT(10) | 556 | #define SC_OP_RFKILL_REGISTERED BIT(10) |
557 | #define SC_OP_RFKILL_REGISTERED BIT(11) | 557 | #define SC_OP_RFKILL_SW_BLOCKED BIT(11) |
558 | #define SC_OP_RFKILL_SW_BLOCKED BIT(12) | 558 | #define SC_OP_RFKILL_HW_BLOCKED BIT(12) |
559 | #define SC_OP_RFKILL_HW_BLOCKED BIT(13) | 559 | #define SC_OP_WAIT_FOR_BEACON BIT(13) |
560 | #define SC_OP_WAIT_FOR_BEACON BIT(14) | 560 | #define SC_OP_LED_ON BIT(14) |
561 | #define SC_OP_LED_ON BIT(15) | 561 | #define SC_OP_SCANNING BIT(15) |
562 | #define SC_OP_SCANNING BIT(16) | ||
563 | 562 | ||
564 | struct ath_bus_ops { | 563 | struct ath_bus_ops { |
565 | void (*read_cachesize)(struct ath_softc *sc, int *csz); | 564 | void (*read_cachesize)(struct ath_softc *sc, int *csz); |