mac80211: fix supported rates IE if AP doesn't give us it's rates
commit84667df095e62869eb37c4807f86f4e3ef157a52
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:26:49 +0000 (2 10:26 -0700)
treef5cada3bc2476d61751293a1f5a7490d564192c1
parentb822f6f76c05fd1b82ec876f42dc2001e78bc739
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