Subject: Re: [PATCH] bcm43xx: Readd dropped assignment

From: Michael Buesch <[email-masked]>
Date: Wed, 18 Oct 2006 16:40:00 +0200

On Wednesday 18 October 2006 01:12, Daniel Drake wrote:
> Larry Finger pointed out a problem with my ieee80211 IV/ICV stripping patch,
> which I forgot about. Sorry about that.
> 
> The patch readds the frame_ctl assignment which was accidently dropped.
> 
> Signed-off-by: Daniel Drake <[email-masked]>

Whoops. Please merge this as fast as possible, John.
That's a real bug which prevents RX from working.

Signed-off-by: Michael Buesch <[email-masked]>

> Index: linux/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c
> ===================================================================
> --- linux.orig/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c
> +++ linux/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c
> @@ -543,6 +543,7 @@ int bcm43xx_rx(struct bcm43xx_private *b
>  		break;
>  	}
>  
> +	frame_ctl = le16_to_cpu(wlhdr->frame_ctl);
>  	switch (WLAN_FC_GET_TYPE(frame_ctl)) {
>  	case IEEE80211_FTYPE_MGMT:
>  		ieee80211_rx_mgt(bcm->ieee, wlhdr, &stats);
> 

-- 
Greetings Michael.