diff options
Diffstat (limited to 'sys/dev/ath/if_ath_lna_div.c')
-rw-r--r-- | sys/dev/ath/if_ath_lna_div.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/ath/if_ath_lna_div.c b/sys/dev/ath/if_ath_lna_div.c index f0a33a5..4ae81a3 100644 --- a/sys/dev/ath/if_ath_lna_div.c +++ b/sys/dev/ath/if_ath_lna_div.c @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <sys/kernel.h> #include <sys/lock.h> -#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/errno.h> @@ -55,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> -#include <net/if_var.h> #include <net/if_media.h> #include <net/if_arp.h> #include <net/ethernet.h> /* XXX for ether_sprintf */ @@ -209,10 +207,6 @@ bad: return (error); } -/* - * XXX need to low_rssi_thresh config from ath9k, to support CUS198 - * antenna diversity correctly. - */ static HAL_BOOL ath_is_alt_ant_ratio_better(int alt_ratio, int maxdelta, int mindelta, int main_rssi_avg, int alt_rssi_avg, int pkt_count) |