Remove duplicated sta_authorized_cb call
[mech_eap.git] / src / ap / sta_info.c
index d4418b2..d64307c 100644 (file)
@@ -1074,10 +1074,6 @@ void ap_sta_set_authorized(struct hostapd_data *hapd, struct sta_info *sta,
                                                     sta->addr);
        }
 #endif /* CONFIG_FST */
-
-       if (hapd->sta_authorized_cb)
-               hapd->sta_authorized_cb(hapd->sta_authorized_cb_ctx,
-                                       sta->addr, authorized, dev_addr);
 }