Inflation isn’t why the Fed raised the discount rate.
The Fed has signaled that they’re going to withdraw the easy credit and liquidity measures put in place to “rescue” the banking sector. The discount rate raise means that the Fed wants to transition back to being the lender of last resort, rather than being the lender of first resort.
They apparently confused the discount rate with the reserve rate.