Forked from http://git.shaftnet.org/cgit/compat-wireless-cw1200.git/