Skip to content

Commit

Permalink
Fix wrong device detection; we have to check for board_name instead o…
Browse files Browse the repository at this point in the history
…f device name

Signed-off-by: Simon Busch <morphis@gravedo.de>
  • Loading branch information
morphis committed Nov 14, 2012
1 parent 314056a commit 9574ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samsung-ipc/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 9574ece

Please sign in to comment.