libertas: use priv->mesh_tlv instead of priv->mesh_fw_ver
authorHolger Schurig <holgerschurig@googlemail.com>
Wed, 2 Dec 2009 14:25:56 +0000 (15:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Dec 2009 18:37:12 +0000 (13:37 -0500)
commitc24ef46e6b1597e54f185e0b48eb9073ef155a8c
tree59cf594556b9ae291580163b0870750aefbf1b22
parent5d1ec85f00e999dba61bdcbd959d62439d418e56
libertas: use priv->mesh_tlv instead of priv->mesh_fw_ver

Both variables contained the same information (no mesh, old mesh, new mesh).
So we can get rid of one variable.

Also move the mesh-version test from cmd.c into mesh.c.

Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/defs.h
drivers/net/wireless/libertas/dev.h
drivers/net/wireless/libertas/mesh.c