diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-10-29 10:15:16 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-10 15:14:56 -0500 |
commit | 102e0572d330e6cdb89a8f8fbd3999e3c67a1f9e (patch) | |
tree | be8df3f62c3f506ea8cec1e5285b810b5f8461d8 /drivers/net/wireless/ath9k/rc.c | |
parent | 43453b3392c1ecfdd1471383ad42ba926533a722 (diff) | |
download | lwn-102e0572d330e6cdb89a8f8fbd3999e3c67a1f9e.tar.gz lwn-102e0572d330e6cdb89a8f8fbd3999e3c67a1f9e.zip |
ath9k: Ensure ath_node is not NULL when updating tx chainmask
Also, random indentation and whitespace cleanup.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.c')
-rw-r--r-- | drivers/net/wireless/ath9k/rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/rc.c b/drivers/net/wireless/ath9k/rc.c index 1305873b2a09..02931a111f1a 100644 --- a/drivers/net/wireless/ath9k/rc.c +++ b/drivers/net/wireless/ath9k/rc.c @@ -816,7 +816,7 @@ void ath_rate_detach(struct ath_rate_softc *asc) } u8 ath_rate_findrateix(struct ath_softc *sc, - u8 dot11rate) + u8 dot11rate) { const struct ath_rate_table *ratetable; struct ath_rate_softc *rsc = sc->sc_rc; |