From 22af02d1b85db7cb6314568b6460fcce5836f363 Mon Sep 17 00:00:00 2001 From: Jorge Vergara Date: Tue, 21 Feb 2017 23:18:02 -0800 Subject: [PATCH] fix bug in filter driver (#1365) * pass null vendor data to otJoinerStart if it is not provided to filter driver --- examples/drivers/windows/otLwf/iocontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/drivers/windows/otLwf/iocontrol.c b/examples/drivers/windows/otLwf/iocontrol.c index 275796c94..b776d46ea 100644 --- a/examples/drivers/windows/otLwf/iocontrol.c +++ b/examples/drivers/windows/otLwf/iocontrol.c @@ -5282,7 +5282,7 @@ otLwfIoCtl_otJoinerStart( pFilter->otVendorName, pFilter->otVendorModel, pFilter->otVendorSwVersion, - pFilter->otVendorData, + pFilter->otVendorData[0] == '\0' ? NULL : pFilter->otVendorData, otLwfJoinerCallback, pFilter) );