diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-01-27 13:56:44 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-01-27 13:59:05 -0600 |
commit | 5e94e2bad84d232ced58f54b52999277ef198048 (patch) | |
tree | 8df2e620ec5a096440433b14fe4409f009056dd8 /plugins/udev.c | |
parent | dda8b972ba9e86e5d0e8dd0a441a1c1f2afd9cbe (diff) | |
download | ofono-5e94e2bad84d232ced58f54b52999277ef198048.tar.bz2 |
Fix: Remove username/password elements
The reason for this is twofold. First the current code actually leaks
memory since it uses g_strdup on username/password and never frees it
anywhere. Second the username/password command can just be sent inside
activate_primary, no reason to do it in the callback.
The fix removes the username / password structure members and moves the
AT*EIAAUW handling to activate_primary. This is almost exactly like the
username / password / context definition for MBM modems.
Diffstat (limited to 'plugins/udev.c')
0 files changed, 0 insertions, 0 deletions