commit | fe397d469fa3fbc678383ffbd0630e4849cca688 | [log] [tgz] |
---|---|---|
author | Dan Williams <dcbw@redhat.com> | Fri Jul 14 11:41:47 2006 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Jul 27 14:37:31 2006 -0400 |
tree | 4a4a65597912fefa8ff50d56ee5c7dc78d9b0e32 | |
parent | 345f6b8beb20338a2d792bf5974d01d457abee53 [diff] |
[PATCH] orinoco: fix setting transmit key only When determining whether there's a key to set or not, orinoco should be looking at the key length, not the key data. Otherwise confusion reigns when trying to set TX key only, passing in zero-length key, but non-NULL pointer. Key length takes precedence over non-NULL key data. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>