[Title] fix usb kbd on/of problem
authorSon Hyunjun <hj79.son@samsung.com>
Thu, 15 Mar 2012 11:30:28 +0000 (20:30 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Thu, 15 Mar 2012 11:30:28 +0000 (20:30 +0900)
[Type] Bugfix
[Module] Display/Skin
[Priority] Major
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]

Change-Id: I1934e96f4f5d6abfca143995516912c63c2d69f3

tizen/src/skin/maruskin_server.c

index 442a4c59755c304dfef671985d986216b11365ca..a8a7154bf2ade11276157ea0f03fbcde204f085a 100755 (executable)
@@ -469,15 +469,8 @@ static void* run_skin_server( void* args ) {
                         continue;
                     }
 
-                    int on = 0;
-
-                    char* p = readbuf;
-                    memcpy( &on, p, sizeof( on ) );
-                    on = ntohs( on );
-                    if ( 0 < on ) {
-                        // java boolean is 256bits '1' set.
-                        on = 1;
-                    }
+                    char on = 0;
+                    memcpy( &on, readbuf, sizeof( on ) );
                     onoff_usb_kbd( on );
                     break;
                 }