aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2500usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500usb.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2500usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c
index f9d6f539a80f..f7dc06a74d1a 100644
--- a/drivers/net/wireless/rt2x00/rt2500usb.c
+++ b/drivers/net/wireless/rt2x00/rt2500usb.c
@@ -1751,6 +1751,7 @@ static int rt2500usb_beacon_update(struct ieee80211_hw *hw,
1751 */ 1751 */
1752 skbdesc = get_skb_frame_desc(skb); 1752 skbdesc = get_skb_frame_desc(skb);
1753 memset(skbdesc, 0, sizeof(*skbdesc)); 1753 memset(skbdesc, 0, sizeof(*skbdesc));
1754 skbdesc->flags |= FRAME_DESC_DRIVER_GENERATED;
1754 skbdesc->data = skb->data + intf->beacon->queue->desc_size; 1755 skbdesc->data = skb->data + intf->beacon->queue->desc_size;
1755 skbdesc->data_len = skb->len - intf->beacon->queue->desc_size; 1756 skbdesc->data_len = skb->len - intf->beacon->queue->desc_size;
1756 skbdesc->desc = skb->data; 1757 skbdesc->desc = skb->data;