Update driver.c

Increased buffer size to 1024 from 128