Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126561
b: refs/heads/master
c: 16d3659
h: refs/heads/master
i:
  126559: b43ab87
v: v3
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 16fdac8 commit af90e2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 3c01ec0d82885d4764d066c9a1e3a431e6fb0f04
refs/heads/master: 16d3659fcda922a31873e9e827b12c825b36fd11
7 changes: 2 additions & 5 deletions trunk/drivers/staging/winbond/linux/wbusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,8 @@ static void wbsoft_configure_filter(struct ieee80211_hw *dev,

static int wbsoft_tx(struct ieee80211_hw *dev, struct sk_buff *skb)
{
char *buffer = kmalloc(skb->len, GFP_ATOMIC);
printk("Sending frame %d bytes\n", skb->len);
memcpy(buffer, skb->data, skb->len);
if (1 == MLMESendFrame(my_adapter, buffer, skb->len, FRAME_TYPE_802_11_MANAGEMENT))
printk("frame sent ok (%d bytes)?\n", skb->len);
MLMESendFrame(my_adapter, skb->data, skb->len, FRAME_TYPE_802_11_MANAGEMENT);

return NETDEV_TX_OK;
}

Expand Down

0 comments on commit af90e2c

Please sign in to comment.