summaryrefslogtreecommitdiff
path: root/net/wireless/sme.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2011-09-20 09:19:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-20 09:19:14 -0400
commiteebb6fb4ae2f60a82e38afb6d8b373a4216bf891 (patch)
treeb87cbdea36983870d767c89d0a0df0f3d8229779 /net/wireless/sme.c
parent9d037a777695993ec7437e5f451647dea7919d4c (diff)
parent8c23516fbb209ccf8f8c36268311c721faff29ee (diff)
downloadlinux-rt-eebb6fb4ae2f60a82e38afb6d8b373a4216bf891.tar.gz
Merge branch 'master' of ssh://infradead/~/public_git/wireless into for-davem
Diffstat (limited to 'net/wireless/sme.c')
-rw-r--r--net/wireless/sme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c
index b7b6ff8be553..dec0fa28372e 100644
--- a/net/wireless/sme.c
+++ b/net/wireless/sme.c
@@ -118,6 +118,8 @@ static int cfg80211_conn_scan(struct wireless_dev *wdev)
i++, j++)
request->channels[i] =
&wdev->wiphy->bands[band]->channels[j];
+ request->rates[band] =
+ (1 << wdev->wiphy->bands[band]->n_bitrates) - 1;
}
}
request->n_channels = n_channels;