diff options
author | Catalin Iacob <iacobcatalin@gmail.com> | 2013-02-12 01:18:05 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-12 20:09:04 +0400 |
commit | c88d0dc1cc0182358ce1ae6f457dace34539eb12 (patch) | |
tree | 4905ccdddbb00683566d9d9c603c27695cbd601c /drivers/net/wireless/iwlwifi/dvm/rx.c | |
parent | 4fe0c75eedb15af13859ef123db17fefed5af7ae (diff) | |
download | linux-c88d0dc1cc0182358ce1ae6f457dace34539eb12.tar.xz |
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 'drivers/net/wireless/iwlwifi/dvm/rx.c')
0 files changed, 0 insertions, 0 deletions