]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Staging: rtl8821ae: rc.c: fix up function prototypes
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2014 17:08:14 +0000 (09:08 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2014 17:38:38 +0000 (09:38 -0800)
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>
drivers/staging/rtl8821ae/rc.c

index 70afdceb991b0949466ff8d83f0cd51010bfaf69..d387f13ea7dc158e9034d843a2fcf2aeb0e7dfa3 100644 (file)
@@ -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)
 {