~cyphermox/+junk/bluez-debug

« back to all changes in this revision

Viewing changes to plugins/formfactor.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-08-01 16:07:29 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20110801160729-s7bv7bh6u4o5vhlc
Tags: 4.96-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
                return 0;
105
105
        }
106
106
 
107
 
        formfactor = chassis_map[chassis_type * 2];
 
107
        formfactor = chassis_map[chassis_type * 2 + 1];
108
108
        if (formfactor != NULL) {
109
109
                if (g_str_equal(formfactor, "laptop") == TRUE)
110
110
                        minor |= (1 << 2) | (1 << 3);