Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: drago01 <drago01@gmail.com>
Cc: Tomas Winkler <tomas.winkler@intel.com>,
	linville@tuxdriver.com, yi.zhu@intel.com,
	linux-wireless@vger.kernel.org,
	Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Subject: Re: [PATCH 1/1] mac80211: don't accept WEP keys other than WEP40 and WEP104
Date: Sat, 28 Jun 2008 09:57:27 +0200	[thread overview]
Message-ID: <1214639847.5507.6.camel@johannes.berg> (raw)
In-Reply-To: <f6ca9fed0806272346y2e8fde2cwa27a79ee83d0c0af@mail.gmail.com> (sfid-20080628_084635_094025_0ACD0C13)

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

On Sat, 2008-06-28 at 08:46 +0200, drago01 wrote:

> > +/**
> > + * enum ieee80211_key_len - key length
> > + * @WEP40: WEP 5 byte long key
> > + * @WEP104: WEP 13 byte long key
> > + */
> > +enum ieee80211_key_len {
> > +       LEN_WEP40 = 5,
> > +       LEN_WEP104 = 13,
> > +};


> > +               if (alg == ALG_WEP &&

> What about 0 ?
> See http://marc.info/?l=linux-wireless&m=121458316301507&w=2


I don't think zero-keylen will have WEP there, will it? I don't really
know though.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2008-06-28  7:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-27 23:50 [PATCH 1/1] mac80211: don't accept WEP keys other than WEP40 and WEP104 Tomas Winkler
2008-06-28  6:46 ` drago01
2008-06-28  7:57   ` Johannes Berg [this message]
2008-06-29  9:57     ` Tomas Winkler
2008-06-30  9:25       ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1214639847.5507.6.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=drago01@gmail.com \
    --cc=emmanuel.grumbach@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=tomas.winkler@intel.com \
    --cc=yi.zhu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox