mac80211: fix NULL pointer dereference in ieee80211_compatible_rates
commit0d580a774b3682b8b2b5c89ab9b813d149ef28e7
authorHelmut Schaa <hschaa@suse.de>
Tue, 20 May 2008 07:56:37 +0000 (20 09:56 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 May 2008 02:40:30 +0000 (20 22:40 -0400)
tree21ff9c9354ac7ed73d35fb86062c65d78d8614d7
parent51e779f0daa5c712439d37b907d58543e4fcf12a
mac80211: fix NULL pointer dereference in ieee80211_compatible_rates

Fix a possible NULL pointer dereference in ieee80211_compatible_rates
introduced in the patch "mac80211: fix association with some APs". If no bss
is available just use all supported rates in the association request.

Signed-off-by: Helmut Schaa <hschaa@suse.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c