Parcourir la source

nl80211: Remove forgotten Action frame registration example

Jouni Malinen il y a 15 ans
Parent
commit
bc19f67240
1 fichiers modifiés avec 0 ajouts et 5 suppressions
  1. 0 5
      src/drivers/driver_nl80211.c

+ 0 - 5
src/drivers/driver_nl80211.c

@@ -1378,11 +1378,6 @@ nla_put_failure:
 
 static int nl80211_register_action_frames(struct wpa_driver_nl80211_data *drv)
 {
-	if (0) {
-		/* Public Action frames */
-		return nl80211_register_action_frame(drv, (u8 *) "\x04", 1);
-	}
-
 	/* FT Action frames */
 	if (nl80211_register_action_frame(drv, (u8 *) "\x06", 1) < 0)
 		return -1;