Browse Source

nanofury: Populate dev_product and dev_serial

Luke Dashjr 12 years ago
parent
commit
49558d9559
1 changed files with 3 additions and 1 deletions
  1. 3 1
      driver-nanofury.c

+ 3 - 1
driver-nanofury.c

@@ -199,7 +199,9 @@ bool nanofury_foundlowl(struct lowlevel_device_info * const info)
 		.threads = 1,
 		// TODO: .name
 		// TODO: .device_path
-		// TODO: .dev_manufacturer/.dev_product/.dev_serial
+		// TODO: .dev_manufacturer
+		.dev_product = strdup(product),
+		.dev_serial = strdup(serial),
 		.deven = DEV_ENABLED,
 		// TODO: .cutofftemp
 	};