if_ath.c (59aa14a91db84e940b6732cd1ff069f0268793bf) | if_ath.c (7d2618914582c292a77c383ecf2ca405b7f2371b) |
---|---|
1/*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 925 unchanged lines hidden (view full) --- 934 * bssid; WDS vap's always share the local 935 * mac address. 936 */ 937 flags &= ~IEEE80211_CLONE_BSSID; 938 if (sc->sc_nvaps == 0) 939 ic_opmode = IEEE80211_M_HOSTAP; 940 else 941 ic_opmode = ic->ic_opmode; | 1/*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 925 unchanged lines hidden (view full) --- 934 * bssid; WDS vap's always share the local 935 * mac address. 936 */ 937 flags &= ~IEEE80211_CLONE_BSSID; 938 if (sc->sc_nvaps == 0) 939 ic_opmode = IEEE80211_M_HOSTAP; 940 else 941 ic_opmode = ic->ic_opmode; |
942 break; |
|
942 default: 943 device_printf(sc->sc_dev, "unknown opmode %d\n", opmode); 944 goto bad; 945 } 946 /* 947 * Check that a beacon buffer is available; the code below assumes it. 948 */ 949 if (needbeacon & STAILQ_EMPTY(&sc->sc_bbuf)) { --- 6347 unchanged lines hidden --- | 943 default: 944 device_printf(sc->sc_dev, "unknown opmode %d\n", opmode); 945 goto bad; 946 } 947 /* 948 * Check that a beacon buffer is available; the code below assumes it. 949 */ 950 if (needbeacon & STAILQ_EMPTY(&sc->sc_bbuf)) { --- 6347 unchanged lines hidden --- |