bscnat: Move generic code to wait for test into its own function

Change-Id: Ia95ec02d7ca631e037abfbcfc7881b57e37aef5b
1 file changed