Michal Kazior <michal.kazior@xxxxxxxxx> writes: > The variable should be cleared regardless of > whether there's a peer associated with the key or > not. > > This fixes case when user first associates with 2 > WEP keys and then disconnects and connects with 1 > WEP key. This resulted in WEP key count being 2 in > the driver leading to default keyidx fixup > failure. > > Signed-off-by: Michal Kazior <michal.kazior@xxxxxxxxx> Thanks, both patches applied. -- Kalle Valo -- 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