Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79402
b: refs/heads/master
c: 132127e
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and David S. Miller committed Jan 28, 2008
1 parent 29286ea commit d1a3856
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 4fd6931ebe24640bec72b91ba612325843a5e3cc
refs/heads/master: 132127e5057be70112bb974b8a3aaa0f7b14847f
8 changes: 6 additions & 2 deletions trunk/drivers/net/wireless/ath5k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,12 @@ int ath5k_hw_reset(struct ath5k_hw *ah, enum ieee80211_if_types op_mode,
if (ret)
return ret;

/* Write rate duration table */
if (ah->ah_version == AR5K_AR5212)
/* Write rate duration table only on AR5212 and if
* virtual interface has already been brought up
* XXX: rethink this after new mode changes to
* mac80211 are integrated */
if (ah->ah_version == AR5K_AR5212 &&
ah->ah_sc->vif != NULL)
ath5k_hw_write_rate_duration(ah, driver_mode);

/*
Expand Down

0 comments on commit d1a3856

Please sign in to comment.