Search Linux Wireless

[PATCH] hostapd: remove use of ieee80211_msg_key_threshold_notification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

--- 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.


-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux