boxing stock holding long and short positions at same time to get long term gain rate

I held long and short positions on an ETF and just found out it is not legal. Do I just have to spay the short term rate. and wait to get a letter. It was done for two months. Is there anything I should do?

J