Hydroxylamine Oxidase Activity

GO:0047991

Catalysis of the reaction: hydroxylamine + O(2) = H(2)O + H(+) + nitrite.