[PATCH] Modified Samsung plugin to recognize the product ID for the Y3400 module.



Added the Y3400 to the set of modules handled by the plugin. I've done manual testing to ensure that the behavior is the same as it is with the Y3300.
From ce2640b7cbf0c06697be20e2c449fc19f52fd8e1 Mon Sep 17 00:00:00 2001
From: Eric Shienbrood <ers google com>
Date: Tue, 28 Jun 2011 10:46:56 -0400
Subject: [PATCH] Modified Samsung plugin to recognize the product ID for the Y3400 module.

The Y3400 is functionally nearly identical to the Y3300.
---
 plugins/mm-plugin-samsung.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/mm-plugin-samsung.c b/plugins/mm-plugin-samsung.c
index 350d4de..9ea2051 100755
--- a/plugins/mm-plugin-samsung.c
+++ b/plugins/mm-plugin-samsung.c
@@ -84,7 +84,7 @@ supports_port (MMPluginBase *base,
         return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED;
 
     /* Product ID check */
-    if (product != 0x6872)
+    if (product != 0x6872 && product != 0x6906)
         return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED;
 
     /* The ethernet ports are obviously supported and don't need probing */
-- 
1.7.3.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]