Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183599
b: refs/heads/master
c: 199afd9
h: refs/heads/master
i:
  183597: 0fba798
  183595: b83fdac
  183591: 0deafdb
  183583: 33c973b
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Jan 12, 2010
1 parent e94830a commit d8d0325
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 1395d3f00a4164caae168b041855d48e0fa9ea4c
refs/heads/master: 199afd9d89b18e8b530734ed73788518e19bed9b
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1581,6 +1581,14 @@ static int ath9k_config(struct ieee80211_hw *hw, u32 changed)
}
}

if (changed & IEEE80211_CONF_CHANGE_MONITOR) {
if (conf->flags & IEEE80211_CONF_MONITOR) {
ath_print(common, ATH_DBG_CONFIG,
"HW opmode set to Monitor mode\n");
sc->sc_ah->opmode = NL80211_IFTYPE_MONITOR;
}
}

if (changed & IEEE80211_CONF_CHANGE_CHANNEL) {
struct ieee80211_channel *curchan = hw->conf.channel;
int pos = curchan->hw_value;
Expand Down

0 comments on commit d8d0325

Please sign in to comment.