diff options
author | Holger Schurig <holgerschurig@gmail.com> | 2009-11-25 07:10:15 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-28 15:04:57 -0500 |
commit | e0e42da3a4df6f487b59dad608db56e25001bcdb (patch) | |
tree | 713a1535e7a1d4828ff1162dee545fd4af5592e2 /drivers/net/wireless/libertas/tx.c | |
parent | 5e8e8b5759566b76bdf36046ae015796676a423c (diff) |
libertas: moveing mesh-related functions into mesh.c
This moves mesh initialization, start/stop and rx/tx handling from
into mesh.c.
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/tx.c')
-rw-r--r-- | drivers/net/wireless/libertas/tx.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/tx.c b/drivers/net/wireless/libertas/tx.c index eb856adbf8ea..315d1ce286ca 100644 --- a/drivers/net/wireless/libertas/tx.c +++ b/drivers/net/wireless/libertas/tx.c | |||
@@ -131,12 +131,7 @@ netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
131 | txpd->tx_packet_length = cpu_to_le16(pkt_len); | 131 | txpd->tx_packet_length = cpu_to_le16(pkt_len); |
132 | txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd)); | 132 | txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd)); |
133 | 133 | ||
134 | if (dev == priv->mesh_dev) { | 134 | lbs_mesh_set_txpd(priv, dev, txpd); |
135 | if (priv->mesh_fw_ver == MESH_FW_OLD) | ||
136 | txpd->tx_control |= cpu_to_le32(TxPD_MESH_FRAME); | ||
137 | else if (priv->mesh_fw_ver == MESH_FW_NEW) | ||
138 | txpd->u.bss.bss_num = MESH_IFACE_ID; | ||
139 | } | ||
140 | 135 | ||
141 | lbs_deb_hex(LBS_DEB_TX, "txpd", (u8 *) &txpd, sizeof(struct txpd)); | 136 | lbs_deb_hex(LBS_DEB_TX, "txpd", (u8 *) &txpd, sizeof(struct txpd)); |
142 | 137 | ||