diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-09-13 23:28:00 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:30 -0400 |
commit | 9680e8a391078a2bfa099b2c59542a6916a023ed (patch) | |
tree | 23167a05d19e72826bd35c661bd702b463294789 /drivers/net/wireless/ath/ath9k/recv.c | |
parent | e3d01bfc3ea4f17c9e91bb930f10062efb0c86eb (diff) | |
download | lwn-9680e8a391078a2bfa099b2c59542a6916a023ed.tar.gz lwn-9680e8a391078a2bfa099b2c59542a6916a023ed.zip |
ath9k: remove driver ASSERT, just use BUG_ON()
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/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 6caef1b5dfe2..3a2204d84702 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -59,7 +59,7 @@ static void ath_rx_buf_link(struct ath_softc *sc, struct ath_buf *bf) /* virtual addr of the beginning of the buffer. */ skb = bf->bf_mpdu; - ASSERT(skb != NULL); + BUG_ON(skb == NULL); ds->ds_vdata = skb->data; /* setup rx descriptors. The rx.bufsize here tells the harware |