The Fed didn't give money to foreign banks. They swapped dollars for foreign currencies. The swaps were unwound (the Fed got the dollars back and returned the foreign currency) profitably.
Wikileaks says otherwise...
So, if the Fed is so “Profitable” and competent as you say, then why is there a 14.3 Trillion Dollar deficit and why have they monetized our currency?
Oh, I forgot, refer back to rule #1.