While reading through the wireless card driver (what source is available), I noticed what is almost certainly a bug:
--- sm_drv_ioctl_umac.c~ 2007-12-06 22:34:03.000000000 -0500 +++ sm_drv_ioctl_umac.c 2007-12-06 22:34:05.000000000 -0500 @@ -2024,7 +2024,7 @@ if (ret < 0) return ret; } else { - if (!crypt_info->flags & IW_ENCODE_MODE) { + if (!(crypt_info->flags & IW_ENCODE_MODE)) { /* we cannot do anything. Complain. */ return -EINVAL; } -- The old test is equivalent to if (0), which means its not possible to set the ENCODE_MODE without also setting a key. -- -Steven Walter <[EMAIL PROTECTED]> Freedom is the freedom to say that 2 + 2 = 4 B2F1 0ECC E605 7321 E818 7A65 FC81 9777 DC28 9E8F _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers