\r
case IB_PNP_PORT_ACTIVE:\r
/* Initiate a sweep - delay a bit to allow the ports to come up. */\r
- cl_status = cl_timer_start( &gp_ioc_pnp->sweep_timer, 250 );\r
- CL_ASSERT( cl_status == CL_SUCCESS );\r
+ if( g_ioc_poll_interval )\r
+ {\r
+ cl_status = cl_timer_start( &gp_ioc_pnp->sweep_timer, 250 );\r
+ CL_ASSERT( cl_status == CL_SUCCESS );\r
+ }\r
break;\r
\r
case IB_PNP_PORT_DOWN:\r
CL_ASSERT( !cl_fmap_count( &old_ious ) );\r
\r
/* Reset the sweep timer. */\r
- status = cl_timer_start( &gp_ioc_pnp->sweep_timer, g_ioc_poll_interval );\r
- CL_ASSERT( status == CL_SUCCESS );\r
+ if( g_ioc_poll_interval )\r
+ {\r
+ status = cl_timer_start(\r
+ &gp_ioc_pnp->sweep_timer, g_ioc_poll_interval );\r
+ CL_ASSERT( status == CL_SUCCESS );\r
+ }\r
\r
/* Release the reference we took in the timer callback. */\r
deref_al_obj( &gp_ioc_pnp->obj );\r