diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-09-10 20:52:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:28 -0400 |
commit | 13b81559200b8e54473e5b140323cbb5f2bb21c0 (patch) | |
tree | 0c326b1daaa9cf73ef36b82de600f6599610dfa9 /drivers/net/wireless/ath/ath5k/base.c | |
parent | e5aa847489e543e33a7c72898e72183871ce2916 (diff) |
atheros: define shared bssidmask setting
Also make ath5k and ath9k use it, and share register definitions.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 13bbf3dfc6c3..1abbebc2bd26 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -593,6 +593,7 @@ ath5k_pci_probe(struct pci_dev *pdev, | |||
593 | sc->ah->ah_iobase = sc->iobase; | 593 | sc->ah->ah_iobase = sc->iobase; |
594 | common = ath5k_hw_common(sc->ah); | 594 | common = ath5k_hw_common(sc->ah); |
595 | common->ops = &ath5k_common_ops; | 595 | common->ops = &ath5k_common_ops; |
596 | common->ah = sc->ah; | ||
596 | common->cachelsz = csz << 2; /* convert to bytes */ | 597 | common->cachelsz = csz << 2; /* convert to bytes */ |
597 | 598 | ||
598 | /* Initialize device */ | 599 | /* Initialize device */ |