diff options
author | Simon Busch <morphis@gravedo.de> | 2012-11-13 16:33:20 +0100 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2012-11-14 06:57:15 +0100 |
commit | 9574ecec486a4ebd2be962838cad3fb1b91bb078 (patch) | |
tree | 5e4e91954fbebd3ae52b7a2a878117622aee0642 /samsung-ipc | |
parent | 314056af01c5dda6c6dbfd63021cd16e40282087 (diff) | |
download | hardware_replicant_libsamsung-ipc-9574ecec486a4ebd2be962838cad3fb1b91bb078.tar.gz hardware_replicant_libsamsung-ipc-9574ecec486a4ebd2be962838cad3fb1b91bb078.tar.bz2 hardware_replicant_libsamsung-ipc-9574ecec486a4ebd2be962838cad3fb1b91bb078.zip |
Fix wrong device detection; we have to check for board_name instead of device name
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'samsung-ipc')
-rw-r--r-- | samsung-ipc/ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c index e8afd94..68e9ec9 100644 --- a/samsung-ipc/ipc.c +++ b/samsung-ipc/ipc.c @@ -115,7 +115,7 @@ int ipc_device_detect(void) for (i=0 ; i < ipc_devices_count ; i++) { - if (strcmp(device, ipc_devices[i].name) == 0) + if (strstr(device, ipc_devices[i].board_name) != NULL) { if (ipc_devices[i].kernel_version != NULL) { |