ath9k_htc: dereferencing before check in hif_usb_tx_cb()
authorDan Carpenter <error27@gmail.com>
Fri, 14 May 2010 14:50:56 +0000 (16:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 May 2010 19:07:42 +0000 (15:07 -0400)
commit690e781c5a3241d2366a3120ca410162da9c365e
treebcdccde29f6df9d636c9e77360b250c255a363a6
parent663cb47cc2c5acd32850f67d051e47d62ed199c9
ath9k_htc: dereferencing before check in hif_usb_tx_cb()

After c11d8f89d3b7: "ath9k_htc: Simplify TX URB management" we no longer
assume that tx_buf is a non-null pointer.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hif_usb.c