diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-09-14 13:53:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-14 13:53:49 -0400 |
commit | 9316f0e3c6ba524d8fa14bfded048b252891931a (patch) | |
tree | 60326e5943997bb72aaf2a375f8a20c61ec7bbcd /drivers/net/wireless/p54 | |
parent | 7f2e6a5d8608d0353b017a0fe15502307593734e (diff) | |
parent | 7a5f799becc51c842ec1a3aeb8dd82651aea7036 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Diffstat (limited to 'drivers/net/wireless/p54')
-rw-r--r-- | drivers/net/wireless/p54/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/main.c b/drivers/net/wireless/p54/main.c index 5e91ad06dd5d..2969d5321ca6 100644 --- a/drivers/net/wireless/p54/main.c +++ b/drivers/net/wireless/p54/main.c | |||
@@ -139,6 +139,7 @@ static int p54_beacon_format_ie_tim(struct sk_buff *skb) | |||
139 | static int p54_beacon_update(struct p54_common *priv, | 139 | static int p54_beacon_update(struct p54_common *priv, |
140 | struct ieee80211_vif *vif) | 140 | struct ieee80211_vif *vif) |
141 | { | 141 | { |
142 | struct ieee80211_tx_control control = { }; | ||
142 | struct sk_buff *beacon; | 143 | struct sk_buff *beacon; |
143 | int ret; | 144 | int ret; |
144 | 145 | ||
@@ -158,7 +159,7 @@ static int p54_beacon_update(struct p54_common *priv, | |||
158 | * to cancel the old beacon template by hand, instead the firmware | 159 | * to cancel the old beacon template by hand, instead the firmware |
159 | * will release the previous one through the feedback mechanism. | 160 | * will release the previous one through the feedback mechanism. |
160 | */ | 161 | */ |
161 | p54_tx_80211(priv->hw, NULL, beacon); | 162 | p54_tx_80211(priv->hw, &control, beacon); |
162 | priv->tsf_high32 = 0; | 163 | priv->tsf_high32 = 0; |
163 | priv->tsf_low32 = 0; | 164 | priv->tsf_low32 = 0; |
164 | 165 | ||