diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index 529b1841a085..3bf85604ca69 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c | |||
@@ -1843,6 +1843,7 @@ static int rt2500pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
1843 | */ | 1843 | */ |
1844 | skbdesc = get_skb_frame_desc(skb); | 1844 | skbdesc = get_skb_frame_desc(skb); |
1845 | memset(skbdesc, 0, sizeof(*skbdesc)); | 1845 | memset(skbdesc, 0, sizeof(*skbdesc)); |
1846 | skbdesc->flags |= FRAME_DESC_DRIVER_GENERATED; | ||
1846 | skbdesc->data = skb->data; | 1847 | skbdesc->data = skb->data; |
1847 | skbdesc->data_len = skb->len; | 1848 | skbdesc->data_len = skb->len; |
1848 | skbdesc->desc = priv_tx->desc; | 1849 | skbdesc->desc = priv_tx->desc; |