that's probably a bad dongle.
i connect my htpc via a Wi-Fi USB dongle as well. it runs both Linux and windows 7. and despite the os and drivers one model always hang after a day or so. another one, different model from same brand is online for months at a time.
it's mostly badly designed/tested hardware.