I Just got to the US 2 days ago, I entered using a F-1 visa and my wife who had a valid B1 visa was not allowed to enter the US, she was just going to stay 8 days since she had to work back in our country. We didn't understand since we visited the US about 60 days ago and stayed for only 5 days.

The officer said it was because she had applied for an extension in 2002 and it was denied but he had no record of the exact date she left the country.

Another officer, a supervisor, was very surprised when he found out about her case and decided that she could enter the US however the previous officer had canceled her visa that was valid for another 3 years.

I really don't know what happened, the nice officer said that she could apply to a waiver and that her case had great chances to be accepted. She had a plane ticket that allowed her to return to Brazil the same day.

Was she deported? Excluded? how long would it take for her to get a new visa, a F-2 for example?

What can we do?
thanks in advance