recv.c (1a6c1e5bd20793e35364280e7df5abd155ef057f) recv.c (350e2dcb4647d144000db1505c94d586fcd57919)
1/*
2 * Copyright (c) 2008-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 1340 unchanged lines hidden (view full) ---

1349 if ((sc->ps_flags & (PS_WAIT_FOR_BEACON |
1350 PS_WAIT_FOR_CAB |
1351 PS_WAIT_FOR_PSPOLL_DATA)) ||
1352 ath9k_check_auto_sleep(sc))
1353 ath_rx_ps(sc, skb, rs.is_mybeacon);
1354 spin_unlock_irqrestore(&sc->sc_pm_lock, flags);
1355
1356 ath9k_antenna_check(sc, &rs);
1/*
2 * Copyright (c) 2008-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 1340 unchanged lines hidden (view full) ---

1349 if ((sc->ps_flags & (PS_WAIT_FOR_BEACON |
1350 PS_WAIT_FOR_CAB |
1351 PS_WAIT_FOR_PSPOLL_DATA)) ||
1352 ath9k_check_auto_sleep(sc))
1353 ath_rx_ps(sc, skb, rs.is_mybeacon);
1354 spin_unlock_irqrestore(&sc->sc_pm_lock, flags);
1355
1356 ath9k_antenna_check(sc, &rs);
1357
1358 ath9k_apply_ampdu_details(sc, &rs, rxs);
1357 ath9k_apply_ampdu_details(sc, &rs, rxs);
1358 ath_debug_rate_stats(sc, &rs, skb);
1359
1360 ieee80211_rx(hw, skb);
1361
1362requeue_drop_frag:
1363 if (sc->rx.frag) {
1364 dev_kfree_skb_any(sc->rx.frag);
1365 sc->rx.frag = NULL;
1366 }

--- 20 unchanged lines hidden ---
1359
1360 ieee80211_rx(hw, skb);
1361
1362requeue_drop_frag:
1363 if (sc->rx.frag) {
1364 dev_kfree_skb_any(sc->rx.frag);
1365 sc->rx.frag = NULL;
1366 }

--- 20 unchanged lines hidden ---