Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361073
b: refs/heads/master
c: 715c998
h: refs/heads/master
i:
  361071: b988564
v: v3
  • Loading branch information
Emmanuel Grumbach authored and Johannes Berg committed Mar 4, 2013
1 parent f16542d commit c595d64
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 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: 38c0f334b359953f010e9b921e0b55278d3918f7
refs/heads/master: 715c998ff4d1106c3096bc5a48e4196663e6701a
18 changes: 13 additions & 5 deletions trunk/drivers/net/wireless/iwlwifi/mvm/ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,12 +624,8 @@ static void iwl_mvm_free_skb(struct iwl_op_mode *op_mode, struct sk_buff *skb)
ieee80211_free_txskb(mvm->hw, skb);
}

static void iwl_mvm_nic_error(struct iwl_op_mode *op_mode)
static void iwl_mvm_nic_restart(struct iwl_mvm *mvm)
{
struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode);

iwl_mvm_dump_nic_error_log(mvm);

iwl_abort_notification_waits(&mvm->notif_wait);

/*
Expand Down Expand Up @@ -663,9 +659,21 @@ static void iwl_mvm_nic_error(struct iwl_op_mode *op_mode)
}
}

static void iwl_mvm_nic_error(struct iwl_op_mode *op_mode)
{
struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode);

iwl_mvm_dump_nic_error_log(mvm);

iwl_mvm_nic_restart(mvm);
}

static void iwl_mvm_cmd_queue_full(struct iwl_op_mode *op_mode)
{
struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode);

WARN_ON(1);
iwl_mvm_nic_restart(mvm);
}

static const struct iwl_op_mode_ops iwl_mvm_ops = {
Expand Down

0 comments on commit c595d64

Please sign in to comment.