mac80211: fix supported rates IE if AP doesn't give us it's rates
commitfe2dba54e065b31005fd28d8cddbc838e275eabc
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 28 Apr 2010 15:03:15 +0000 (28 17:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:21:27 +0000 (2 10:21 -0700)
tree7adc9b28786fc0ea5fc474fe86acfb232b3eaa13
parent4abe1cbd9c9a9b9ab5cc3986df22c6532de36860
mac80211: fix supported rates IE if AP doesn't give us it's rates

commit 76f273640134f3eb8257179cd5b3bc6ba5fe4a96 upstream.

If AP do not provide us supported rates before assiociation, send
all rates we are supporting instead of empty information element.

v1 -> v2: Add comment.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/mlme.c