diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index badae9f18153..afd8533267a7 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -2002,6 +2002,7 @@ static int rt73usb_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
2002 | */ | 2002 | */ |
2003 | skbdesc = get_skb_frame_desc(skb); | 2003 | skbdesc = get_skb_frame_desc(skb); |
2004 | memset(skbdesc, 0, sizeof(*skbdesc)); | 2004 | memset(skbdesc, 0, sizeof(*skbdesc)); |
2005 | skbdesc->flags |= FRAME_DESC_DRIVER_GENERATED; | ||
2005 | skbdesc->data = skb->data + intf->beacon->queue->desc_size; | 2006 | skbdesc->data = skb->data + intf->beacon->queue->desc_size; |
2006 | skbdesc->data_len = skb->len - intf->beacon->queue->desc_size; | 2007 | skbdesc->data_len = skb->len - intf->beacon->queue->desc_size; |
2007 | skbdesc->desc = skb->data; | 2008 | skbdesc->desc = skb->data; |