Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121775
b: refs/heads/master
c: 50fdae2
h: refs/heads/master
i:
  121773: 1cf238c
  121771: 34756cc
  121767: dbbd26c
  121759: 3014c54
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Nov 10, 2008
1 parent aab77fc commit 259d36c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 26 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: f1dc56003b23d2d5bb5a756de6b1633a76c9e697
refs/heads/master: 50fdae2c7bcb6417997f90c3d9853a59a9ed06ce
23 changes: 0 additions & 23 deletions trunk/drivers/net/wireless/ath9k/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
#include "core.h"
#include "regd.h"

static int ath_outdoor; /* enable outdoor use */

static u32 ath_chainmask_sel_up_rssi_thres =
ATH_CHAINMASK_SEL_UP_RSSI_THRES;
static u32 ath_chainmask_sel_down_rssi_thres =
Expand Down Expand Up @@ -1349,27 +1347,6 @@ void ath_update_txpow(struct ath_softc *sc)
}
}

/* Return the current country and domain information */
void ath_get_currentCountry(struct ath_softc *sc,
struct ath9k_country_entry *ctry)
{
ath9k_regd_get_current_country(sc->sc_ah, ctry);

/* If HAL not specific yet, since it is band dependent,
* use the one we passed in. */
if (ctry->countryCode == CTRY_DEFAULT) {
ctry->iso[0] = 0;
ctry->iso[1] = 0;
} else if (ctry->iso[0] && ctry->iso[1]) {
if (!ctry->iso[2]) {
if (ath_outdoor)
ctry->iso[2] = 'O';
else
ctry->iso[2] = 'I';
}
}
}

/**************************/
/* Slow Antenna Diversity */
/**************************/
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/ath9k/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -1018,8 +1018,6 @@ int ath_get_mac80211_qnum(u32 queue, struct ath_softc *sc);
void ath_setslottime(struct ath_softc *sc);
void ath_update_txpow(struct ath_softc *sc);
int ath_cabq_update(struct ath_softc *);
void ath_get_currentCountry(struct ath_softc *sc,
struct ath9k_country_entry *ctry);
u64 ath_extend_tsf(struct ath_softc *sc, u32 rstamp);

#endif /* CORE_H */

0 comments on commit 259d36c

Please sign in to comment.