Through a quick look, I see no obvious errors, so it's hard to say whether it's a kernel problem. Since the hardware can detect the WiFi, the driver is more-or-less working. How does it fail when you try to connect? Is it via NetworkManager, right? If so, could you give the relevant log?