]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
at76c50x-usb: Extract bssid from authentication frame
authorSebastian Smolorz <Sebastian.Smolorz@gmx.de>
Tue, 22 Jun 2010 14:55:17 +0000 (16:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Jun 2010 19:42:33 +0000 (15:42 -0400)
commita185045c8da1ec6627236b4ade0d949b15da43b3
tree20d10b53e3cba7aa32df18ee9b073dc9e4b37ab3
parent41b4b289adaaf53e563a2cde17c45c492608edb0
at76c50x-usb: Extract bssid from authentication frame

The driver at76c50x-usb is unable to authenticate with an AP since
kernel 2.6.31 for the following reason: The join command of the firmware
needs to be sent with the right bssid before any transmission can start.
Before kernel 2.6.31 mac80211 informed its drivers about the changing
bssid early enough for at76c50x-usb but during the development of 2.6.31
mac80211's behaviour changed. Now a new bssid is set after the
association.

This patch changes the tx routine of the driver at76c50x-usb in such a
way that a new bssid is extracted from an authentication frame and the
join command with that bssid is processed.

Signed-off-by: Sebastian Smolorz <sesmo@gmx.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/at76c50x-usb.c
drivers/net/wireless/at76c50x-usb.h