Diff between facc0d862bcc61b4ffdda45e135ff30ac395b5ee and 0065cf3be99368b4af4673981e7bbb6fef56b52b

Changed Files

File Additions Deletions Status
plugins/formfactor.c +1 -1 modified

Full Patch

diff --git a/plugins/formfactor.c b/plugins/formfactor.c
index 758d481..33a8b32 100644
--- a/plugins/formfactor.c
+++ b/plugins/formfactor.c
@@ -104,7 +104,7 @@ static int formfactor_probe(struct btd_adapter *adapter)
 		return 0;
 	}
 
-	formfactor = chassis_map[chassis_type * 2];
+	formfactor = chassis_map[chassis_type * 2 + 1];
 	if (formfactor != NULL) {
 		if (g_str_equal(formfactor, "laptop") == TRUE)
 			minor |= (1 << 2) | (1 << 3);