diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2011-02-03 22:22:55 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-04 16:11:39 -0500 |
commit | 5820de5303f73d48dcc3a053c875d1f0da7eef67 (patch) | |
tree | d98cdf123a1f7c18401d06de4c6a5c5c6c37432a /drivers/net/wireless/ath/carl9170 | |
parent | 4d048aac990d587c81fc1002e28502e6f95371ee (diff) | |
download | kernel_samsung_crespo-5820de5303f73d48dcc3a053c875d1f0da7eef67.zip kernel_samsung_crespo-5820de5303f73d48dcc3a053c875d1f0da7eef67.tar.gz kernel_samsung_crespo-5820de5303f73d48dcc3a053c875d1f0da7eef67.tar.bz2 |
carl9170: fix typo in PS code
This patch fixes a off-by-one bug which bugged
the driver's PS-POLL capability.
Cc: <stable@kernel.org>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/rx.c b/drivers/net/wireless/ath/carl9170/rx.c index 939a0e9..84866a4 100644 --- a/drivers/net/wireless/ath/carl9170/rx.c +++ b/drivers/net/wireless/ath/carl9170/rx.c @@ -564,7 +564,7 @@ static void carl9170_ps_beacon(struct ar9170 *ar, void *data, unsigned int len) cam = ieee80211_check_tim(tim_ie, tim_len, ar->common.curaid); /* 2. Maybe the AP wants to send multicast/broadcast data? */ - cam = !!(tim_ie->bitmap_ctrl & 0x01); + cam |= !!(tim_ie->bitmap_ctrl & 0x01); if (!cam) { /* back to low-power land. */ |