On Mon, 2014-09-15 at 12:47 +0200, Janusz Dziedzic wrote: > + while ((data = fgetc(file)) != EOF) { Why are you using fgetc() rather than just fread() or read()? johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html