aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/main.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2008-10-29 00:45:16 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-11-10 15:14:56 -0500
commit102e0572d330e6cdb89a8f8fbd3999e3c67a1f9e (patch)
treebe8df3f62c3f506ea8cec1e5285b810b5f8461d8 /drivers/net/wireless/ath9k/main.c
parent43453b3392c1ecfdd1471383ad42ba926533a722 (diff)
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/main.c')
-rw-r--r--drivers/net/wireless/ath9k/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c
index 839db2312ca5..0a0eb7ce0f5f 100644
--- a/drivers/net/wireless/ath9k/main.c
+++ b/drivers/net/wireless/ath9k/main.c
@@ -489,8 +489,7 @@ int _ath_rx_indicate(struct ath_softc *sc,
489 return 0; 489 return 0;
490} 490}
491 491
492int ath_rx_subframe(struct ath_node *an, 492int ath_rx_subframe(struct ath_node *an, struct sk_buff *skb,
493 struct sk_buff *skb,
494 struct ath_recv_status *status) 493 struct ath_recv_status *status)
495{ 494{
496 struct ath_softc *sc = an->an_sc; 495 struct ath_softc *sc = an->an_sc;