Date:2011-04-19 09:51:18 (8 years 5 months ago)
Author:Werner Almesberger
Commit:5e196552c50dd822240096cd2b46dae497605ccd
Message:atrf-txrx.c (main): option parsing in PER test mode segfaulted

Files: tools/atrf-txrx/atrf-txrx.c (1 diff)

Change Details

tools/atrf-txrx/atrf-txrx.c
626626            transmit(dsc, argv[optind], times);
627627            break;
628628        case mode_per:
629            times = strtoul(argv[optind+1], &end, 0);
629            times = strtoul(argv[optind], &end, 0);
630630            if (*end)
631631                usage(*argv);
632632            set_power_dBm(dsc, power, 0);

Archive Download the corresponding diff file



interactive