nl80211: Remove forgotten Action frame registration example
authorJouni Malinen <j@w1.fi>
Sun, 11 Apr 2010 16:32:07 +0000 (19:32 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 11 Apr 2010 16:32:07 +0000 (19:32 +0300)
src/drivers/driver_nl80211.c

index d7bfd32..d813214 100644 (file)
@@ -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;