wl1251: Fix memory leak in data path command handling
[pandora-wifi.git] / drivers / net / wireless / wl12xx / wl1251_ps.h
1 #ifndef __WL1251_PS_H__
2 #define __WL1251_PS_H__
3
4 /*
5  * This file is part of wl1251
6  *
7  * Copyright (c) 1998-2007 Texas Instruments Incorporated
8  * Copyright (C) 2008 Nokia Corporation
9  *
10  * Contact: Kalle Valo <kalle.valo@nokia.com>
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * version 2 as published by the Free Software Foundation.
15  *
16  * This program is distributed in the hope that it will be useful, but
17  * WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19  * General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
24  * 02110-1301 USA
25  *
26  */
27
28 #include "wl1251.h"
29 #include "wl1251_acx.h"
30
31 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_cmd_ps_mode mode);
32 void wl1251_ps_elp_sleep(struct wl1251 *wl);
33 int wl1251_ps_elp_wakeup(struct wl1251 *wl);
34 void wl1251_elp_work(struct work_struct *work);
35
36
37 #endif /* __WL1251_PS_H__ */