Fix check for AP mode in IBSS split detection