diff options
author | 2013-02-11 22:18:05 +0100 | |
---|---|---|
committer | 2013-02-12 11:09:04 -0500 | |
commit | c88d0dc1cc0182358ce1ae6f457dace34539eb12 (patch) | |
tree | 4905ccdddbb00683566d9d9c603c27695cbd601c /tools/perf/scripts/python/check-perf-trace.py | |
parent | Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next (diff) | |
download | linux-dev-c88d0dc1cc0182358ce1ae6f457dace34539eb12.tar.xz linux-dev-c88d0dc1cc0182358ce1ae6f457dace34539eb12.zip |
rtlwifi: Initialize rate_init member of struct rate_control_ops
This partially reverts commit 44ba973699b831414c3f8eef68ee5a7fe1208a05.
rate_control_rate_init assumes the rate_init member of
struct rate_control_ops is not NULL therefore not initializing it leads to
an oops as soon the driver succesfully associates to an AP.
The removal of rate_update from 44ba973699b831414c3f8eef68ee5a7fe1208a05
is ok because rate_update is checked for NULL before being
called.
Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions