]> git.baikalelectronics.ru Git - kernel.git/commit
at76c50x-usb: Make WEP encryption working.
authorAndrea Merello <andrea.merello@gmail.com>
Sat, 24 May 2014 15:16:18 +0000 (17:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 May 2014 17:08:10 +0000 (13:08 -0400)
commit8d26e016ce5fdcf3e51c49bdc3fa6b0bd5ecb1ba
tree787e690a6258b95bba2b33e654a66b1035624f5e
parentc4092b604a88d20b9d4ab21383f97e397a2987a7
at76c50x-usb: Make WEP encryption working.

Currently the driver uses HW encryption.
Whenever mac80211 calls the set_key() callback the driver restarts the
whole HW configuration procedure, in order to set (also) the new
WEP key.
However, by doing this, it causes the card to loose association information,
and the HW becomes unable to communicate with the BSS.

This patch adds support for sending another HW command, that sets only
the wep key, instead of resetting all.
Mac80211 key-set requests are thus handled via this new command.

Tested on my at76c503

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