[PATCH] drivers/net/wireless/libertas/fw.c: fix use-before-check
authorEugene Teo <eteo@redhat.com>
Sat, 19 May 2007 03:09:20 +0000 (11:09 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 May 2007 15:02:29 +0000 (11:02 -0400)
commit596f2d0554352f1089f7478b309b27d8cdf5cd4f
treef901ca3688180b5405881fabd68f401ce457a247
parent3d4bd24b019981394fabb465b0c7932924b83d65
[PATCH] drivers/net/wireless/libertas/fw.c: fix use-before-check

NULL checks should be performed before the dereference.

Spotted by the Coverity checker.

Signed-off-by: Eugene Teo <eteo@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/fw.c