Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c88d0dc1 authored by Catalin Iacob's avatar Catalin Iacob Committed by John W. Linville
Browse files

rtlwifi: Initialize rate_init member of struct rate_control_ops



This partially reverts commit 44ba9736.

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 44ba9736
is ok because rate_update is checked for NULL before being
called.

Signed-off-by: default avatarCatalin Iacob <iacobcatalin@gmail.com>
Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4fe0c75e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment