Эх сурвалжийг харах

[PATCH] bcm43xx: correct "Move IV/ICV stripping into ieee80211_rx"

In the patch sent by Daniel Drake under the title "[PATCH] ieee80211: Move
IV/ICV stripping into ieee80211_rx", a needed line was accidentally removed.

(NOTE: I'm pretty sure this was my fault, not Daniel's. -- JWL)

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Larry Finger 18 жил өмнө
parent
commit
b6d2b1db06

+ 1 - 0
drivers/net/wireless/bcm43xx/bcm43xx_xmit.c

@@ -543,6 +543,7 @@ int bcm43xx_rx(struct bcm43xx_private *bcm,
 		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);