Skip to content

Commit

Permalink
Staging: rtl8821ae: rc.c: fix up function prototypes
Browse files Browse the repository at this point in the history
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Greg Kroah-Hartman committed Jan 23, 2014
1 parent 3c05bed commit 530877d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/rtl8821ae/rc.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ static void rtl_tx_status(void *ppriv,

static void rtl_rate_init(void *ppriv,
struct ieee80211_supported_band *sband,
struct cfg80211_chan_def *chandef,
struct ieee80211_sta *sta, void *priv_sta)
{
}
Expand All @@ -242,6 +243,7 @@ static void rtl_rate_update(void *ppriv,
#else
static void rtl_rate_update(void *ppriv,
struct ieee80211_supported_band *sband,
struct cfg80211_chan_def *chandef,
struct ieee80211_sta *sta, void *priv_sta,
u32 changed)
{
Expand Down

0 comments on commit 530877d

Please sign in to comment.