ieee80211_power.c (7d4b968b0fa6afc6bca132c27e2041c979ee6101) | ieee80211_power.c (d91933f4c0ba39423d888608326f79cdb6487822) |
---|---|
1/*- 2 * Copyright (c) 2002-2008 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 --- 88 unchanged lines hidden (view full) --- 97 free(vap->iv_tim_bitmap, M_80211_POWER); 98 vap->iv_tim_bitmap = NULL; 99 } 100} 101 102void 103ieee80211_psq_init(struct ieee80211_psq *psq, const char *name) 104{ | 1/*- 2 * Copyright (c) 2002-2008 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 --- 88 unchanged lines hidden (view full) --- 97 free(vap->iv_tim_bitmap, M_80211_POWER); 98 vap->iv_tim_bitmap = NULL; 99 } 100} 101 102void 103ieee80211_psq_init(struct ieee80211_psq *psq, const char *name) 104{ |
105 memset(psq, 0, sizeof(psq)); | 105 memset(psq, 0, sizeof(*psq)); |
106 psq->psq_maxlen = IEEE80211_PS_MAX_QUEUE; 107 IEEE80211_PSQ_INIT(psq, name); /* OS-dependent setup */ 108} 109 110void 111ieee80211_psq_cleanup(struct ieee80211_psq *psq) 112{ 113#if 0 --- 414 unchanged lines hidden --- | 106 psq->psq_maxlen = IEEE80211_PS_MAX_QUEUE; 107 IEEE80211_PSQ_INIT(psq, name); /* OS-dependent setup */ 108} 109 110void 111ieee80211_psq_cleanup(struct ieee80211_psq *psq) 112{ 113#if 0 --- 414 unchanged lines hidden --- |