diff options
author | David S. Miller <davem@davemloft.net> | 2010-02-14 22:30:54 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-14 22:30:54 -0800 |
commit | 5ecccb74dc91e22496a142b103ba958f93c29275 (patch) | |
tree | b560b8974ec0e0478492d60753d45d8aea9db9b0 /drivers/net/wireless/iwlwifi/iwl-rx.c | |
parent | f6f223039c0d0683bdea1eabd35b309e10311a60 (diff) | |
parent | 3d0beb921fa34ebf8b13e206e5473329b14deb83 (diff) | |
download | talos-obmc-linux-5ecccb74dc91e22496a142b103ba958f93c29275.tar.gz talos-obmc-linux-5ecccb74dc91e22496a142b103ba958f93c29275.zip |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
net/mac80211/rate.c
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index 5df66382d922..0f718f6df5fd 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c @@ -1012,7 +1012,10 @@ static void iwl_pass_packet_to_mac80211(struct iwl_priv *priv, if (ieee80211_is_mgmt(fc) || ieee80211_has_protected(fc) || ieee80211_has_morefrags(fc) || - le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_FRAG) + le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_FRAG || + (ieee80211_is_data_qos(fc) && + *ieee80211_get_qos_ctl(hdr) & + IEEE80211_QOS_CONTROL_A_MSDU_PRESENT)) ret = skb_linearize(skb); else ret = __pskb_pull_tail(skb, min_t(u16, IWL_LINK_HDR_MAX, len)) ? |