# DF-0558 — hci_event_num_compl_pkts unbounded loop
# netbt is hardware-gated (needs a Bluetooth controller); cannot run on this guest.
# build.sh validates the fix COMPILES (netbt.ko).
set -e
KERNBUILDDIR=/usr/obj/usr/src/sys/X86_64_GENERIC
cd /sys/netbt
echo "Building netbt.ko with the DF-0558 fix (and DF-0559, same file)..."
make KERNBUILDDIR=$KERNBUILDDIR 2>&1
echo "BUILD_EXIT=$?"
ls -l netbt.ko 2>/dev/null && echo "netbt.ko OK"
