[PATCH] orinoco: fix setting transmit key only
authorDan Williams <dcbw@redhat.com>
Fri, 14 Jul 2006 15:41:47 +0000 (11:41 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Jul 2006 18:37:31 +0000 (14:37 -0400)
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>

No differences found