[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>
This commit is contained in:
Larry Finger 2006-11-08 11:04:49 -06:00 committed by Jeff Garzik
parent cefd9f7f12
commit b6d2b1db06

View File

@ -543,6 +543,7 @@ int bcm43xx_rx(struct bcm43xx_private *bcm,
break; break;
} }
frame_ctl = le16_to_cpu(wlhdr->frame_ctl);
switch (WLAN_FC_GET_TYPE(frame_ctl)) { switch (WLAN_FC_GET_TYPE(frame_ctl)) {
case IEEE80211_FTYPE_MGMT: case IEEE80211_FTYPE_MGMT:
ieee80211_rx_mgt(bcm->ieee, wlhdr, &stats); ieee80211_rx_mgt(bcm->ieee, wlhdr, &stats);