Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] hostapd: remove use of  ieee80211_msg_key_threshold_notification
@ 2007-08-10 21:44 Johannes Berg
  2007-08-15  3:43 ` Jouni Malinen
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2007-08-10 21:44 UTC (permalink / raw)
  To: Jouni Malinen; +Cc: linux-wireless

The code is #if 0'ed anyway, so might as well not use the constant.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

--- hostap.orig/hostapd/driver_devicescape.c	2007-08-10 23:42:58.000000000 +0200
+++ hostap/hostapd/driver_devicescape.c	2007-08-10 23:43:43.000000000 +0200
@@ -1342,13 +1342,17 @@ static void handle_frame(struct hostapd_
 		return;
 	}
 #endif
+# if 0
+/* TODO
+ * get key notification from kernel again... it doesn't give one now
+ * because this code doesn't care
+ */
 	if (msg_type == ieee80211_msg_key_threshold_notification) {
-#if 0 /* TODO */
 		ieee802_11_key_threshold_notification(iface->bss[0], buf,
 						      data_len);
-#endif
 		return;
 	}
+#endif
 
 	/* PS-Poll frame from not associated is 16 bytes. All other frames
 	 * passed to hostapd are 24 bytes or longer.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-15 10:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-10 21:44 [PATCH] hostapd: remove use of ieee80211_msg_key_threshold_notification Johannes Berg
2007-08-15  3:43 ` Jouni Malinen
2007-08-15 10:49   ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox