Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322005
b: refs/heads/master
c: 7dd6753
h: refs/heads/master
i:
  322003: 2744635
v: v3
  • Loading branch information
Bob Copeland authored and John W. Linville committed Aug 13, 2012
1 parent f4a39ad commit fa55959
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 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: e1352fde5682ab1bdd2a9e5d75c22d1fe210ef77
refs/heads/master: 7dd6753f6d2e7e0ccbf2263cef3a9fff6bc89988
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/ath/ath5k/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2056,9 +2056,7 @@ ath5k_beacon_update_timers(struct ath5k_hw *ah, u64 bc_tsf)
void
ath5k_beacon_config(struct ath5k_hw *ah)
{
unsigned long flags;

spin_lock_irqsave(&ah->block, flags);
spin_lock_bh(&ah->block);
ah->bmisscount = 0;
ah->imask &= ~(AR5K_INT_BMISS | AR5K_INT_SWBA);

Expand All @@ -2085,7 +2083,7 @@ ath5k_beacon_config(struct ath5k_hw *ah)

ath5k_hw_set_imr(ah, ah->imask);
mmiowb();
spin_unlock_irqrestore(&ah->block, flags);
spin_unlock_bh(&ah->block);
}

static void ath5k_tasklet_beacon(unsigned long data)
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/ath/ath5k/mac80211-ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ ath5k_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
struct ath5k_vif *avf = (void *)vif->drv_priv;
struct ath5k_hw *ah = hw->priv;
struct ath_common *common = ath5k_hw_common(ah);
unsigned long flags;

mutex_lock(&ah->lock);

Expand Down Expand Up @@ -300,9 +299,9 @@ ath5k_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
}

if (changes & BSS_CHANGED_BEACON) {
spin_lock_irqsave(&ah->block, flags);
spin_lock_bh(&ah->block);
ath5k_beacon_update(hw, vif);
spin_unlock_irqrestore(&ah->block, flags);
spin_unlock_bh(&ah->block);
}

if (changes & BSS_CHANGED_BEACON_ENABLED)
Expand Down

0 comments on commit fa55959

Please sign in to comment.