Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342121
b: refs/heads/master
c: b4991f3
h: refs/heads/master
i:
  342119: 3ac93d6
v: v3
  • Loading branch information
Emmanuel Grumbach authored and Johannes Berg committed Nov 28, 2012
1 parent e8b8ff5 commit 26684b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 52e2a99eee77cc4a47e183eb7f5102301a31e282
refs/heads/master: b4991f3f7bdc2402a3d7d841eb4376bda4f7a56b
7 changes: 3 additions & 4 deletions trunk/drivers/net/wireless/iwlwifi/iwl-trans.h
Original file line number Diff line number Diff line change
Expand Up @@ -489,10 +489,6 @@ struct iwl_trans {
static inline void iwl_trans_configure(struct iwl_trans *trans,
const struct iwl_trans_config *trans_cfg)
{
/*
* only set the op_mode for the moment. Later on, this function will do
* more
*/
trans->op_mode = trans_cfg->op_mode;

trans->ops->configure(trans, trans_cfg);
Expand All @@ -512,6 +508,9 @@ static inline void iwl_trans_stop_hw(struct iwl_trans *trans,

trans->ops->stop_hw(trans, op_mode_leaving);

if (op_mode_leaving)
trans->op_mode = NULL;

trans->state = IWL_TRANS_NO_FW;
}

Expand Down

0 comments on commit 26684b4

Please sign in to comment.