rt2800: fix assigning same WCID for different stations
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 11 Jun 2015 10:53:45 +0000 (12:53 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Jun 2015 10:13:50 +0000 (13:13 +0300)
commited8e0ed53b317f72df907298fb653a976b083dc4
treebed2f51fe75130f23362f5b246b872c2b66ecc81
parentf7a40873d2fa04d7e87bd829074da9b0f32a33ed
rt2800: fix assigning same WCID for different stations

On some hardware reading WCID entries table results getting 0xff
numbers, no matter of value written there before. This cause assigning
the same WCID for different stations and makes not possible to connect
to more than one station.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rt2x00/rt2800.h
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt2x00mac.c