diff options
author | David S. Miller <davem@davemloft.net> | 2008-04-14 05:30:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-14 05:30:23 -0400 |
commit | df39e8ba56a788733d369068c7319e04b1da3cd5 (patch) | |
tree | 1e9be853bdb455e341cdbf957656f342cfa2eb9e /drivers/net/wireless/rt2x00 | |
parent | f5572855ec492334d8c3ec0e0e86c31865d5cf07 (diff) | |
parent | 159d83363b629c91d020734207c1bc788b96af5a (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/ehea/ehea_main.c
drivers/net/wireless/iwlwifi/Kconfig
drivers/net/wireless/rt2x00/rt61pci.c
net/ipv4/inet_timewait_sock.c
net/ipv6/raw.c
net/mac80211/ieee80211_sta.c
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 1cb056be4489..468a31c8c113 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2379,10 +2379,8 @@ static int rt61pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
2379 | */ | 2379 | */ |
2380 | if (skb_headroom(skb) < intf->beacon->queue->desc_size) { | 2380 | if (skb_headroom(skb) < intf->beacon->queue->desc_size) { |
2381 | if (pskb_expand_head(skb, intf->beacon->queue->desc_size, | 2381 | if (pskb_expand_head(skb, intf->beacon->queue->desc_size, |
2382 | 0, GFP_ATOMIC)) { | 2382 | 0, GFP_ATOMIC)) |
2383 | dev_kfree_skb(skb); | ||
2384 | return -ENOMEM; | 2383 | return -ENOMEM; |
2385 | } | ||
2386 | } | 2384 | } |
2387 | 2385 | ||
2388 | /* | 2386 | /* |