Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134240
b: refs/heads/master
c: 4c4df78
h: refs/heads/master
v: v3
  • Loading branch information
Chatre, Reinette authored and John W. Linville committed Jan 29, 2009
1 parent 13c893d commit 2c7d4e0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a9f509368ceb24fc66be961be15c69966f5eb5d
refs/heads/master: 4c4df78f5e224fd59fe337773878eca681ed02a9
12 changes: 12 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,18 @@ static u8 iwl_count_chain_bitmap(u32 chain_bitmap)
return res;
}

/**
* iwl_is_monitor_mode - Determine if interface in monitor mode
*
* priv->iw_mode is set in add_interface, but add_interface is
* never called for monitor mode. The only way mac80211 informs us about
* monitor mode is through configuring filters (call to configure_filter).
*/
static bool iwl_is_monitor_mode(struct iwl_priv *priv)
{
return !!(priv->staging_rxon.filter_flags & RXON_FILTER_PROMISC_MSK);
}

/**
* iwl_set_rxon_chain - Set up Rx chain usage in "staging" RXON image
*
Expand Down

0 comments on commit 2c7d4e0

Please sign in to comment.