Same problem here using BT4 Pre-Release & ALFA AWUS036H
I was having the same problem as mosjka1. I have pretty much no experience writing or modifying drivers, but I decided to jump into this one. I found the build was crashing on line 778:
Originally Posted by mosjka1
orgfsuid = current->fsuid
orgfsgid = current->fsgid
I made the (most likely unsafe, but it was for my own use) assumption that current->fsuid & current->fsgid where both 0 (root) by reading the comment on the line above in the code. I cleaned up the other two references to fsuid & fsgid and then I got past that file.
I then ran into another problem.
.../rt_main_dev.c:299: error: 'struct net_device' has not member named 'priv'.
I found that netdev->priv was killed off in 2.6.28. The replacement function is netdev_priv(), and went in quite a while ago. I went through rt_main_dev.c and made all the corrections.
Now I'm getting another error.
../rt_main_dev.c:536: error: lvalue required as left operand of assignment
../rt_main_dev.c:1200: error: lvalue required as left operand of assignment
Line 536 is: netdev_priv(net_dev) = 0;
Line 1200 is: netdev_priv(net_dev) = (PVOID)pAd;
At this point, I'm lost, but I'm working on it.