]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Make ieee802_1x_tx_key() static
authorJouni Malinen <j@w1.fi>
Sat, 1 Aug 2015 12:45:18 +0000 (15:45 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 1 Aug 2015 12:45:18 +0000 (15:45 +0300)
This is used only within ieee802_1x.c.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ieee802_1x.c
src/ap/ieee802_1x.h

index d45b98f1f288694d70a16e2694fe27609312d220..c52c4150b0f48bf60ba2a7ece4ed13c5756ed605 100644 (file)
@@ -204,7 +204,7 @@ static void ieee802_1x_tx_key_one(struct hostapd_data *hapd,
 }
 
 
-void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta)
+static void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta)
 {
        struct eapol_authenticator *eapol = hapd->eapol_auth;
        struct eapol_state_machine *sm = sta->eapol_sm;
index de6e0e75fac3b00606f48bcc6682ca574220f112..14d69556993c4dac944c8683ab174593c623ecc2 100644 (file)
@@ -23,7 +23,6 @@ void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf,
 void ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta);
 void ieee802_1x_free_station(struct sta_info *sta);
 
-void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta);
 void ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta);
 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd,
                                   struct sta_info *sta, int authorized);