Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134092
b: refs/heads/master
c: acbaf32
h: refs/heads/master
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Jan 29, 2009
1 parent 3c1cf9e commit 0ef9a3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 64d74681433415855da02d2516f28d2ed859cde9
refs/heads/master: acbaf32e94cb70218792cac68e5149e482e77441
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/p54/p54common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ static int p54_tx(struct ieee80211_hw *dev, struct sk_buff *skb)
queue_delayed_work(dev->workqueue, &priv->work,
msecs_to_jiffies(P54_TX_FRAME_LIFETIME));

return 0;
return NETDEV_TX_OK;

err:
skb_pull(skb, sizeof(*hdr) + sizeof(*txhdr) + padding);
Expand Down Expand Up @@ -1774,7 +1774,7 @@ static int p54_set_ps(struct ieee80211_hw *dev)
int i;

if (dev->conf.flags & IEEE80211_CONF_PS)
mode = cpu_to_le16(P54_PSM | P54_PSM_DTIM | P54_PSM_MCBC);
mode = P54_PSM | P54_PSM_DTIM | P54_PSM_MCBC;
else
mode = P54_PSM_CAM;

Expand All @@ -1790,7 +1790,7 @@ static int p54_set_ps(struct ieee80211_hw *dev)
for (i = 0; i < ARRAY_SIZE(psm->intervals); i++) {
psm->intervals[i].interval =
cpu_to_le16(dev->conf.listen_interval);
psm->intervals[i].periods = 1;
psm->intervals[i].periods = cpu_to_le16(1);
}

psm->beacon_rssi_skip_max = 60;
Expand Down

0 comments on commit 0ef9a3c

Please sign in to comment.