diff options
author | Simon Mikuda <simon.mikuda@streamunlimited.com> | 2023-03-28 07:26:18 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-03-28 13:44:35 -0700 |
commit | cedace72c3f71d356fc1895787569c7412ee94b2 (patch) | |
tree | bacf804908dceb2e7b03070a8a7566d7bdc2bbd6 /tools | |
parent | 011e562a98a8b8c278391bc64d9dc2c8df0a5585 (diff) | |
download | bluez-cedace72c3f71d356fc1895787569c7412ee94b2.tar.gz |
l2test: Enable hex input for PSM
Diffstat (limited to 'tools')
-rw-r--r-- | tools/l2test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/l2test.c b/tools/l2test.c index 5aae4b687..232247b78 100644 --- a/tools/l2test.c +++ b/tools/l2test.c @@ -1416,7 +1416,7 @@ int main(int argc, char *argv[]) break; case 'P': - psm = atoi(optarg); + psm = strtoul(optarg, NULL, 0); break; case 'I': |