diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-02-26 22:54:45 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-02-26 22:54:45 +0100 |
commit | 64463da913bc8f791980ba28d93ac5e716ab9cc5 (patch) | |
tree | cf958678f7cf0b615a52356beb2d18240424ab4a /drivers/net/wireless/iwlwifi/iwl-rx.c | |
parent | mwl8k: convert to new station add/remove callbacks (diff) | |
parent | iwlwifi: sanity check before counting number of tfds can be free (diff) | |
download | linux-64463da913bc8f791980ba28d93ac5e716ab9cc5.tar.xz linux-64463da913bc8f791980ba28d93ac5e716ab9cc5.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Conflicts:
drivers/net/wireless/iwlwifi/iwl-core.h
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 fed554accedc..0d09f571e185 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c @@ -1054,7 +1054,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)) ? |