Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183273
b: refs/heads/master
c: 3a41bbd
h: refs/heads/master
i:
  183271: 5a43b66
v: v3
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Dec 21, 2009
1 parent 94bcbe6 commit d7116b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3b377ea9d4efc94dc52fe41b4dfdb463635ab298
refs/heads/master: 3a41bbd515d449604f3488c5f8dd62802f09d19b
12 changes: 7 additions & 5 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,12 +689,14 @@ static void iwl_rx_card_state_notif(struct iwl_priv *priv,
u32 flags = le32_to_cpu(pkt->u.card_state_notif.flags);
unsigned long status = priv->status;

IWL_DEBUG_RF_KILL(priv, "Card state received: HW:%s SW:%s\n",
IWL_DEBUG_RF_KILL(priv, "Card state received: HW:%s SW:%s CT:%s\n",
(flags & HW_CARD_DISABLED) ? "Kill" : "On",
(flags & SW_CARD_DISABLED) ? "Kill" : "On");
(flags & SW_CARD_DISABLED) ? "Kill" : "On",
(flags & CT_CARD_DISABLED) ?
"Reached" : "Not reached");

if (flags & (SW_CARD_DISABLED | HW_CARD_DISABLED |
RF_CARD_DISABLED)) {
CT_CARD_DISABLED)) {

iwl_write32(priv, CSR_UCODE_DRV_GP1_SET,
CSR_UCODE_DRV_GP1_BIT_CMD_BLOCKED);
Expand All @@ -708,10 +710,10 @@ static void iwl_rx_card_state_notif(struct iwl_priv *priv,
iwl_write_direct32(priv, HBUS_TARG_MBX_C,
HBUS_TARG_MBX_C_REG_BIT_CMD_BLOCKED);
}
if (flags & RF_CARD_DISABLED)
if (flags & CT_CARD_DISABLED)
iwl_tt_enter_ct_kill(priv);
}
if (!(flags & RF_CARD_DISABLED))
if (!(flags & CT_CARD_DISABLED))
iwl_tt_exit_ct_kill(priv);

if (flags & HW_CARD_DISABLED)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/iwlwifi/iwl-commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -2510,7 +2510,7 @@ struct iwl_card_state_notif {

#define HW_CARD_DISABLED 0x01
#define SW_CARD_DISABLED 0x02
#define RF_CARD_DISABLED 0x04
#define CT_CARD_DISABLED 0x04
#define RXON_CARD_DISABLED 0x10

struct iwl_ct_kill_config {
Expand Down

0 comments on commit d7116b3

Please sign in to comment.