Author: bz Date: Thu Nov 6 08:55:46 2008 New Revision: 184708 URL: http://svn.freebsd.org/changeset/base/184708
Log: In case INET is not defined, then ANCACHE is not defined and the sc does not have 'an_have_rssimap' variable. Add an ANCACHE check to poperly hide the case and make an(4) compile without INET. MFC after: 2 months Modified: head/sys/dev/an/if_an.c Modified: head/sys/dev/an/if_an.c ============================================================================== --- head/sys/dev/an/if_an.c Thu Nov 6 06:14:25 2008 (r184707) +++ head/sys/dev/an/if_an.c Thu Nov 6 08:55:46 2008 (r184708) @@ -2686,8 +2686,10 @@ an_init(void *xsc) } } +#ifdef ANCACHE if (sc->an_have_rssimap) sc->an_config.an_rxmode |= AN_RXMODE_NORMALIZED_RSSI; +#endif /* Set the ssid list */ sc->an_ssidlist.an_type = AN_RID_SSIDLIST; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"