On Tue, Jul 27, 2010 at 4:48 PM, Stanislaw Gruszka <sgruszka@xxxxxxxxxx> wrote: > Fix rt2500usb hardware encryption broken by commit > 96b61bafe22b2f2abcc833d651739edb977f1b1e > "rt2x00: Clean up USB vendor request buffer functions" > > Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx> Acked-by: Ivo van Doorn <IvDoorn@xxxxxxxxx> > --- > drivers/net/wireless/rt2x00/rt2500usb.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c > index 4b2fef3..7892647 100644 > --- a/drivers/net/wireless/rt2x00/rt2500usb.c > +++ b/drivers/net/wireless/rt2x00/rt2500usb.c > @@ -376,7 +376,7 @@ static int rt2500usb_config_key(struct rt2x00_dev *rt2x00dev, > if (key->hw_key_idx > 0 && crypto->cipher != curr_cipher) > return -EOPNOTSUPP; > > - rt2500usb_register_multiwrite(rt2x00dev, reg, > + rt2500usb_register_multiwrite(rt2x00dev, KEY_ENTRY(key->hw_key_idx), > crypto->key, sizeof(crypto->key)); > > /* > -- > 1.7.1 > > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html