Bug 166 - setting more keys(>=5) can affect the current active key
: setting more keys(>=5) can affect the current active key
Status: VERIFIED FIXED
: IPW2100
WEP
: 0.51
: HP/Compaq Fedora Core 1
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-08-05 02:20 by
Modified: 2005-10-02 09:49 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-08-05 02:20:17
=============
Test environment
=============
kernel 2.6.5
ipw2100 driver 0.51
Fedora core 1
Presario X1000 Compaq laptop

===================
Test procedure and result
===================

If execute "iwconfig eth1 key <KEY5> [5]",the driver will replace the current 
active key value with KEY5,Although KEY5 should be an invalid key.
steps:
1,configure a key[x],while the x<=4
  %iwconfig eth1 key 2222222222 [2]
  %iwconfig eth1 key [2]
  %iwconfig
  .......
  Encryption key:2222-2222-22 [2] Security mode:restricted
  .......
2,set the KEY5
  %iwconfig eth1 key 5555555555 [5]
  %iwconfig eth1 key [5]
  %iwconfig
  .........
  Encryption key:5555-5555-55 [2] Security mode:restricted
  .........
from the result,we can see that the active key [2]'s value has been changed 
into KEY5,although we think that key [5] should be treated as an invalid key.
------- Comment #1 From 2004-08-16 22:45:32 -------
Fixed in v0.52.
------- Comment #2 From 2004-08-16 23:12:53 -------
Verified in ipw2100 v0.52.  Set a key outside the range 1-4 will result in 
Invalid Argument.