diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-05-23 17:20:58 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-05-23 17:20:58 -0400 |
commit | 9528454f9c02fb9c359c4c42c69eed4d47407e39 (patch) | |
tree | 40e8c7f829b528073d2b216c3b8e6be205c76245 /drivers/net/wireless/orinoco.c | |
parent | 777e1d4a0f3387933f668e7adc81384827975189 (diff) | |
parent | 1faadface9c5d000bb16e42c89f24859337cf2db (diff) |
Merge branch 'master' into upstream
Diffstat (limited to 'drivers/net/wireless/orinoco.c')
-rw-r--r-- | drivers/net/wireless/orinoco.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c index d4c13ff4d8a1..b563decf599e 100644 --- a/drivers/net/wireless/orinoco.c +++ b/drivers/net/wireless/orinoco.c | |||
@@ -757,7 +757,6 @@ static void orinoco_rx_monitor(struct net_device *dev, u16 rxfid, | |||
757 | if (datalen > IEEE80211_DATA_LEN + 12) { | 757 | if (datalen > IEEE80211_DATA_LEN + 12) { |
758 | printk(KERN_DEBUG "%s: oversized monitor frame, " | 758 | printk(KERN_DEBUG "%s: oversized monitor frame, " |
759 | "data length = %d\n", dev->name, datalen); | 759 | "data length = %d\n", dev->name, datalen); |
760 | err = -EIO; | ||
761 | stats->rx_length_errors++; | 760 | stats->rx_length_errors++; |
762 | goto update_stats; | 761 | goto update_stats; |
763 | } | 762 | } |
@@ -766,8 +765,7 @@ static void orinoco_rx_monitor(struct net_device *dev, u16 rxfid, | |||
766 | if (!skb) { | 765 | if (!skb) { |
767 | printk(KERN_WARNING "%s: Cannot allocate skb for monitor frame\n", | 766 | printk(KERN_WARNING "%s: Cannot allocate skb for monitor frame\n", |
768 | dev->name); | 767 | dev->name); |
769 | err = -ENOMEM; | 768 | goto update_stats; |
770 | goto drop; | ||
771 | } | 769 | } |
772 | 770 | ||
773 | /* Copy the 802.11 header to the skb */ | 771 | /* Copy the 802.11 header to the skb */ |