浏览代码

[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 年之前
父节点
当前提交
b6d2b1db06
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/net/wireless/bcm43xx/bcm43xx_xmit.c

+ 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);