[PATCH] libertas: access mesh_dev more carefully
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Thu, 2 Aug 2007 15:50:12 +0000 (11:50 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:50 +0000 (16:49 -0700)
commit3cf840914bd467fa4cc76af1a01bba4d2813131c
treece3adcd8be98a4e1cf5c0968ec8742fbd8fac029
parentc95c7f930ec6fee029c8e7957ab95b3967578070
[PATCH] libertas: access mesh_dev more carefully

The CF/SDIO firmware doesn't support Mesh, so priv->mesh_dev is
NULL there. Protect all accesses.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/join.c
drivers/net/wireless/libertas/main.c
drivers/net/wireless/libertas/scan.c
drivers/net/wireless/libertas/tx.c