Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66471
b: refs/heads/master
c: fcff0e0
h: refs/heads/master
i:
  66469: 6eca6cf
  66467: 1b50648
  66463: 9429f90
v: v3
  • Loading branch information
Holger Schurig authored and David S. Miller committed Oct 10, 2007
1 parent 51551d4 commit dbbfa26
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e2aa334bee4ae9fe27f26b0732c0443d2f11a8af
refs/heads/master: fcff0e0856351b201016cd9267cadcf6a8e988d5
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/libertas/dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,6 @@ struct _wlan_adapter {

struct cmd_ds_802_11_get_log logmsg;

u32 pkttxctrl;

u16 txrate;
u32 linkmode;
u32 radiomode;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/wireless/libertas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,6 @@ static void wlan_init_adapter(wlan_private * priv)
adapter->intcounter = 0;

adapter->currenttxskb = NULL;
adapter->pkttxctrl = 0;

memset(&adapter->tx_queue_ps, 0, NR_TX_QUEUE*sizeof(struct sk_buff*));
adapter->tx_queue_idx = 0;
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/net/wireless/libertas/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ static u32 convert_radiotap_rate_to_mv(u8 rate)
*/
static int SendSinglePacket(wlan_private * priv, struct sk_buff *skb)
{
wlan_adapter *adapter = priv->adapter;
int ret = 0;
struct txpd localtxpd;
struct txpd *plocaltxpd = &localtxpd;
Expand Down Expand Up @@ -86,9 +85,6 @@ static int SendSinglePacket(wlan_private * priv, struct sk_buff *skb)
/* offset of actual data */
plocaltxpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd));

/* TxCtrl set by user or default */
plocaltxpd->tx_control = cpu_to_le32(adapter->pkttxctrl);

p802x_hdr = skb->data;
if (priv->adapter->radiomode == WLAN_RADIOMODE_RADIOTAP) {

Expand All @@ -99,7 +95,6 @@ static int SendSinglePacket(wlan_private * priv, struct sk_buff *skb)
new_rate = convert_radiotap_rate_to_mv(pradiotap_hdr->rate);
if (new_rate != 0) {
/* use new tx_control[4:0] */
new_rate |= (adapter->pkttxctrl & ~0x1f);
plocaltxpd->tx_control = cpu_to_le32(new_rate);
}

Expand Down

0 comments on commit dbbfa26

Please sign in to comment.