diff options
author | Denis Kenzior <denkenz@gmail.com> | 2014-12-03 17:31:09 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2014-12-04 08:57:48 -0600 |
commit | 7dca0a7315eed7de3cac818a3763612e74682daa (patch) | |
tree | f16211481fa51c6905945ec463fd7f9432f1a300 /src/stk.c | |
parent | 19519b2132004fc875aedcd1033b16c15732cbc3 (diff) | |
download | ofono-7dca0a7315eed7de3cac818a3763612e74682daa.tar.bz2 |
sim: Fix pin retries bogus values on some arch-es
On some architectures the SimManager.Retries property was getting bogus
values. This is because we were sending an array which pointed to int
values instead of the expected unsigned char values.
This fix allocates a temporary array of unsigned chars to hold the
actual D-Bus values being sent. Additionally, the dictionary array is
changed to point to the temporary unsigned char based values instead of
the raw 'int' based retry values.
Diffstat (limited to 'src/stk.c')
0 files changed, 0 insertions, 0 deletions