Update main.c

As per http://permalink.gmane.org/gmane.linux.kernel.wireless.general/90700

Latest kernel at kernel.org has this fix.