summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-23 09:08:14 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-23 09:38:38 -0800
commit530877d8ddf300d9553e493398117ddecc274ffd (patch)
tree79a96e821d3eec044dd4e1ee7b6a2110950419cb /drivers
parent3c05bedb5fef7a6ada63c5dbf61e1258b9019f05 (diff)
downloadlinux-530877d8ddf300d9553e493398117ddecc274ffd.tar.gz
linux-530877d8ddf300d9553e493398117ddecc274ffd.tar.bz2
linux-530877d8ddf300d9553e493398117ddecc274ffd.zip
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8821ae/rc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/rtl8821ae/rc.c b/drivers/staging/rtl8821ae/rc.c
index 70afdceb991b..d387f13ea7dc 100644
--- a/drivers/staging/rtl8821ae/rc.c
+++ b/drivers/staging/rtl8821ae/rc.c
@@ -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)
{
}
@@ -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)
{