[PATCH 15/20] sap: add set_online handling