]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix NULL pointer dereference in ieee80211_compatible_rates
authorHelmut Schaa <hschaa@suse.de>
Tue, 20 May 2008 07:56:37 +0000 (09:56 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 May 2008 02:40:30 +0000 (22:40 -0400)
commit7ade847cb453ae754b5129949b1205225d14c830
tree21ff9c9354ac7ed73d35fb86062c65d78d8614d7
parent7be2d822e3b4365c6650769c1dc7097b69121a6c
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