aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath9k/recv.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2008-10-29 10:15:16 +0530
committerJohn W. Linville <linville@tuxdriver.com>2008-11-10 15:14:56 -0500
commit102e0572d330e6cdb89a8f8fbd3999e3c67a1f9e (patch)
treebe8df3f62c3f506ea8cec1e5285b810b5f8461d8 /drivers/net/wireless/ath9k/recv.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/recv.c')
-rw-r--r--drivers/net/wireless/ath9k/recv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath9k/recv.c b/drivers/net/wireless/ath9k/recv.c
index 27d6a981a10..80f26b4c4e0 100644
--- a/drivers/net/wireless/ath9k/recv.c
+++ b/drivers/net/wireless/ath9k/recv.c
@@ -356,8 +356,8 @@ static void ath_rx_timer(unsigned long data)
/* Free all pending sub-frames in the re-ordering buffer */
-static void ath_rx_flush_tid(struct ath_softc *sc,
- struct ath_arx_tid *rxtid, int drop)
+static void ath_rx_flush_tid(struct ath_softc *sc, struct ath_arx_tid *rxtid,
+ int drop)
{
struct ath_rxbuf *rxbuf;
unsigned long flag;
@@ -1218,7 +1218,7 @@ void ath_rx_node_init(struct ath_softc *sc, struct ath_node *an)
* (needs to be allocated when addba is received)
*/
- rxtid->rxbuf = NULL;
+ rxtid->rxbuf = NULL;
setup_timer(&rxtid->timer, ath_rx_timer,
(unsigned long)rxtid);
spin_lock_init(&rxtid->tidlock);