Skip to content
Commit 621ad7c9 authored by John W. Linville's avatar John W. Linville
Browse files

mac80211: avoid NULL ptr deref when finding max_rates in PID and minstrel



"There is another problem with this piece of code. The sband will be NULL
after second iteration on single band device and cause null pointer
dereference. Everything is working with dual band card. Sorry, but i
don't know how to explain this clearly in English. I have looked on the
second patch for pid algorithm and found similar bug."

Reported-by: default avatarKarol Szuster <qflon@o2.pl>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent aedec922
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment