[openEuler-5.10 107/557] rsi: fix key enabled check causing unwanted encryption for vap_id > 0