hubs and abs repairs are covered under warranty, if you have one, aka FREE.
If the light comes on when driving, or turning or hitting bumps its more then likely a bad hub.
I've got about 80k miles on the clock. GM warranty has been gone lol. I have an extended warranty. Im guessing its a bad hub, it keeps doing it almost everytime im driving now. its random when it comes on tho.