nwam_loc_is_enabled
if (nwam_loc_is_enabled(loch, &curr_state) == NWAM_SUCCESS &&
if ((err = nwam_loc_is_enabled(loch, &enabled)) != NWAM_SUCCESS)