D-Link DWA-140 B2 (RT3071-based) can't connect to 802.11n-mode AP. If I change AP mode to Mixed or g-only, then D-Link DWA-140 B2 can connect to this AP. Tested on 2.6.34 and 2.6.35. With 2.6.32 kernel and rt3070 driver from this repository https://launchpad.net/~logari81/+archive/ppa adapter can work in 802.11n-mode.
Created attachment 27135 [details] syslog output
Still issue in 2.6.35rc6.
Now with 2.6.35-22 kernel in Ubuntu Maverick adapter can connect to 802.11n-mode AP, but always set 54 Mbit/s connection speed, even channel width is 40 MHz.
Not issue anymore since 2.6.38 kernel.