diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 1a869a5cbe91..01dbef19d651 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2437,6 +2437,8 @@ static int rt61pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
2437 | * First we create the beacon. | 2437 | * First we create the beacon. |
2438 | */ | 2438 | */ |
2439 | skb_push(skb, TXD_DESC_SIZE); | 2439 | skb_push(skb, TXD_DESC_SIZE); |
2440 | memset(skb->data, 0, TXD_DESC_SIZE); | ||
2441 | |||
2440 | rt2x00lib_write_tx_desc(rt2x00dev, (struct data_desc *)skb->data, | 2442 | rt2x00lib_write_tx_desc(rt2x00dev, (struct data_desc *)skb->data, |
2441 | (struct ieee80211_hdr *)(skb->data + | 2443 | (struct ieee80211_hdr *)(skb->data + |
2442 | TXD_DESC_SIZE), | 2444 | TXD_DESC_SIZE), |