| Patch prevents call set_wep_key() with zero key length. That fix long | standing regression since commit c0380693520b1a1e4f756799a0edc379378b462a | "airo: clean up WEP key operations". Additionally print call trace when | someone will try to use improper parameters, and remove key.len = 0 | assignment, because it is in not possible code path. | | v1->v2 | Return instantly from set_wep_key() when keylen == 0. | | Reported-and-bisected-by: Chris Siebenmann <cks-rhbugzilla@xxxxxxxxxxxxxx> | Cc: Dan Williams <dcbw@xxxxxxxxxx> | Cc: <stable@xxxxxxxxxx> | Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx> Tested-by: Chris Siebenmann <cks@xxxxxxxxxxxxxx> (Tested on a Thinkpad T42, using current git tip + this patch; HEAD is ab658321f32770b903a4426e2a6fae0392757755. This is the same machine I bisected the problem on.) - cks -- 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