diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index d10273b744e4..357f2c4183f6 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2400,6 +2400,7 @@ static int rt61pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
2400 | */ | 2400 | */ |
2401 | skbdesc = get_skb_frame_desc(skb); | 2401 | skbdesc = get_skb_frame_desc(skb); |
2402 | memset(skbdesc, 0, sizeof(*skbdesc)); | 2402 | memset(skbdesc, 0, sizeof(*skbdesc)); |
2403 | skbdesc->flags |= FRAME_DESC_DRIVER_GENERATED; | ||
2403 | skbdesc->data = skb->data + intf->beacon->queue->desc_size; | 2404 | skbdesc->data = skb->data + intf->beacon->queue->desc_size; |
2404 | skbdesc->data_len = skb->len - intf->beacon->queue->desc_size; | 2405 | skbdesc->data_len = skb->len - intf->beacon->queue->desc_size; |
2405 | skbdesc->desc = skb->data; | 2406 | skbdesc->desc = skb->data; |