Commit 530877d8 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: rtl8821ae: rc.c: fix up function prototypes

These function parameters are incorrect for the callbacks.  Luckily the
functions don't actually do anything, so the code still "works" just
fine...

Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3c05bedb
...@@ -228,6 +228,7 @@ static void rtl_tx_status(void *ppriv, ...@@ -228,6 +228,7 @@ static void rtl_tx_status(void *ppriv,
static void rtl_rate_init(void *ppriv, static void rtl_rate_init(void *ppriv,
struct ieee80211_supported_band *sband, struct ieee80211_supported_band *sband,
struct cfg80211_chan_def *chandef,
struct ieee80211_sta *sta, void *priv_sta) struct ieee80211_sta *sta, void *priv_sta)
{ {
} }
...@@ -242,6 +243,7 @@ static void rtl_rate_update(void *ppriv, ...@@ -242,6 +243,7 @@ static void rtl_rate_update(void *ppriv,
#else #else
static void rtl_rate_update(void *ppriv, static void rtl_rate_update(void *ppriv,
struct ieee80211_supported_band *sband, struct ieee80211_supported_band *sband,
struct cfg80211_chan_def *chandef,
struct ieee80211_sta *sta, void *priv_sta, struct ieee80211_sta *sta, void *priv_sta,
u32 changed) u32 changed)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment