if_malo.c (82aa34e6fa1cd5a4ad401383522daf51412ea4b2) | if_malo.c (6459bd2843eab7f7d383415a6ee0873f68f3437d) |
---|---|
1/*- 2 * Copyright (c) 2008 Weongyo Jeong <weongyo@freebsd.org> 3 * Copyright (c) 2007 Marvell Semiconductor, Inc. 4 * Copyright (c) 2007 Sam Leffler, Errno Consulting 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 1556 unchanged lines hidden (view full) --- 1565} 1566 1567static int 1568malo_mode_init(struct malo_softc *sc) 1569{ 1570 struct ieee80211com *ic = &sc->malo_ic; 1571 struct malo_hal *mh = sc->malo_mh; 1572 | 1/*- 2 * Copyright (c) 2008 Weongyo Jeong <weongyo@freebsd.org> 3 * Copyright (c) 2007 Marvell Semiconductor, Inc. 4 * Copyright (c) 2007 Sam Leffler, Errno Consulting 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 1556 unchanged lines hidden (view full) --- 1565} 1566 1567static int 1568malo_mode_init(struct malo_softc *sc) 1569{ 1570 struct ieee80211com *ic = &sc->malo_ic; 1571 struct malo_hal *mh = sc->malo_mh; 1572 |
1573 /* 1574 * NB: Ignore promisc in hostap mode; it's set by the 1575 * bridge. This is wrong but we have no way to 1576 * identify internal requests (from the bridge) 1577 * versus external requests such as for tcpdump. 1578 */ 1579 malo_hal_setpromisc(mh, ic->ic_promisc > 0 && 1580 ic->ic_opmode != IEEE80211_M_HOSTAP); | 1573 malo_hal_setpromisc(mh, ic->ic_promisc > 0); |
1581 malo_setmcastfilter(sc); 1582 1583 return ENXIO; 1584} 1585 1586static void 1587malo_tx_draintxq(struct malo_softc *sc, struct malo_txq *txq) 1588{ --- 593 unchanged lines hidden --- | 1574 malo_setmcastfilter(sc); 1575 1576 return ENXIO; 1577} 1578 1579static void 1580malo_tx_draintxq(struct malo_softc *sc, struct malo_txq *txq) 1581{ --- 593 unchanged lines hidden --- |