TMZ broke the story ... attorney Shawn Holley was on her way to court Monday to negotiate a deal in Lindsay's lying-to-cops car crash case when she got her walking papers. Law enforcement sources tell us ... the prosecutor was willing to let Lindsay plead no contest and agree to six months of lockdown rehab -- NO JAIL.
Presumably, the offer is still on the table but we're told Lindsay could not be less interested. She doesn't think she did anything wrong and will not plead to a crime she says she didn't commit.
FYI -- our law enforcement sources tell us ... prosecutors have her dead to rights, because she told cops she was a passenger in the Porsche when there's overwhelming evidence she was the driver.
So get this ... if the case goes to trial and Lindsay is found guilty, she faces 19 months in jail. On top of that, the lying-to-cops case has triggered a probation violation in her jewelry heist case and she could get ANOTHER 245 days for that.
It's hard to keep track.