SET_STATE
if (function != GET_STATE && function != SET_STATE)
case SET_STATE:
rv = getset_state(sc, &req_state, SET_STATE);