Re: [patch 7/7] d80211: do not pass an invalid key index to set_key()

2006-12-07 Thread David Kimdon
> Use HW_KEY_IDX_INVALID, please. oops, here you go (also fixed bad indentation): -- d80211: do not pass an invalid key index to set_key() If a hardware key has not been configured then there is no point to calling DISABLE_KEY. Signed-off-by: David Kimdon <[EMAIL PROTECTED]> Index: wirel

Re: [patch 7/7] d80211: do not pass an invalid key index to set_key()

2006-12-07 Thread Jiri Benc
On Wed, 6 Dec 2006 16:45:40 -0800, David Kimdon wrote: > Index: wireless-dev/net/d80211/ieee80211_ioctl.c > === > --- wireless-dev.orig/net/d80211/ieee80211_ioctl.c > +++ wireless-dev/net/d80211/ieee80211_ioctl.c > @@ -612,7 +612,7 @@

[patch 7/7] d80211: do not pass an invalid key index to set_key()

2006-12-06 Thread David Kimdon
If a hardware key has not been configured then there is no point to calling DISABLE_KEY. Signed-off-by: David Kimdon <[EMAIL PROTECTED]> Index: wireless-dev/net/d80211/ieee80211_ioctl.c === --- wireless-dev.orig/net/d80211/ieee80211_