pnp_enable_resource not being called