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>
This commit is contained in:

committed by
John W. Linville

parent
5d1ec85f00
commit
c24ef46e6b
@@ -42,7 +42,6 @@ struct lbs_private {
|
||||
u32 mesh_connect_status;
|
||||
struct lbs_mesh_stats mstats;
|
||||
int mesh_open;
|
||||
int mesh_fw_ver;
|
||||
int mesh_autostart_enabled;
|
||||
uint16_t mesh_tlv;
|
||||
u8 mesh_ssid[IEEE80211_MAX_SSID_LEN + 1];
|
||||
|
Reference in New Issue
Block a user