wmi.c (695884fb8acd9857e0e7120ccb2150e30f4b8fef) wmi.c (a5fae37d118bb633708b2787e53871e38bf3b15e)
1/*
2 * Copyright (c) 2010 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

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

118 mutex_unlock(&wmi->op_mutex);
119
120 kfree(priv->wmi);
121}
122
123void ath9k_swba_tasklet(unsigned long data)
124{
125 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *)data;
1/*
2 * Copyright (c) 2010 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

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

118 mutex_unlock(&wmi->op_mutex);
119
120 kfree(priv->wmi);
121}
122
123void ath9k_swba_tasklet(unsigned long data)
124{
125 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *)data;
126 struct ath_common *common = ath9k_hw_common(priv->ah);
127
126
128 ath_dbg(common, ATH_DBG_WMI, "SWBA Event received\n");
129
130 ath9k_htc_swba(priv, priv->wmi->beacon_pending);
127 ath9k_htc_swba(priv, priv->wmi->beacon_pending);
131
132}
133
134void ath9k_fatal_work(struct work_struct *work)
135{
136 struct ath9k_htc_priv *priv = container_of(work, struct ath9k_htc_priv,
137 fatal_work);
138 struct ath_common *common = ath9k_hw_common(priv->ah);
139

--- 182 unchanged lines hidden ---
128}
129
130void ath9k_fatal_work(struct work_struct *work)
131{
132 struct ath9k_htc_priv *priv = container_of(work, struct ath9k_htc_priv,
133 fatal_work);
134 struct ath_common *common = ath9k_hw_common(priv->ah);
135

--- 182 unchanged lines hidden ---