I'm not sure I could follow your discussion...

> @@ -790,14 +789,17 @@ ieee80211_crypto_cs_encrypt(struct 
> ieee80211_tx_data *tx,
>               return TX_CONTINUE;
>       }
> 
> -     if (unlikely(skb_headroom(skb) < cs->hdr_len &&
> -                  pskb_expand_head(skb, cs->hdr_len, 0, GFP_ATOMIC)))
> +     if (iv_len == 0)
> +             return TX_CONTINUE;

How can this be correct? You have a cipher scheme, so you want to
encrypt, but now you're not doing that? Perhaps you should drop the
frame instead?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to