No subject
Thu Jul 12 09:23:04 CDT 2007
Modified:
branches/1.2/xpp/utils/fpga_load.c
Modified: branches/1.2/xpp/utils/fpga_load.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/utils/fpga_load.c?view=diff&rev=4516&r1=4515&r2=4516
==============================================================================
--- branches/1.2/xpp/utils/fpga_load.c (original)
+++ branches/1.2/xpp/utils/fpga_load.c Tue Sep 9 07:22:42 2008
@@ -531,6 +531,10 @@
}
dev_desc = &mydev->dev->descriptor;
config_desc = mydev->dev->config;
+ if (!config_desc) {
+ ERR("No configuration descriptor: strange USB1 controller?\n");
+ return 0;
+ }
for(i = 0; i < sizeof(astribank_types)/sizeof(astribank_types[0]); i++) {
if(match_usb_device_identity(config_desc, &astribank_types[i])) {
DBG("Identified[%d]: interfaces=%d endpoints=%d: \"%s\"\n",
More information about the zaptel-commits
mailing list