summaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/sys/wlc_ampdu.c
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2010-09-14 09:45:32 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-14 08:57:05 -0700
commit90ea22962c5160812c601a115fb7b80c60d49fad (patch)
tree424202e88355dbf4f7053d192e0c0568c4611ed2 /drivers/staging/brcm80211/sys/wlc_ampdu.c
parenta2627bc06580ffe1115b24a1dcce52924f157955 (diff)
downloadop-kernel-dev-90ea22962c5160812c601a115fb7b80c60d49fad.zip
op-kernel-dev-90ea22962c5160812c601a115fb7b80c60d49fad.tar.gz
staging: brcm80211: fix "ERROR: return is not a function, paren..."
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/sys/wlc_ampdu.c')
-rw-r--r--drivers/staging/brcm80211/sys/wlc_ampdu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/brcm80211/sys/wlc_ampdu.c b/drivers/staging/brcm80211/sys/wlc_ampdu.c
index dfa1e61..f9ff09c 100644
--- a/drivers/staging/brcm80211/sys/wlc_ampdu.c
+++ b/drivers/staging/brcm80211/sys/wlc_ampdu.c
@@ -166,7 +166,7 @@ static INLINE uint16 pkt_txh_seqnum(wlc_info_t *wlc, void *p)
struct dot11_header *h;
txh = (d11txh_t *) PKTDATA(p);
h = (struct dot11_header *)((uint8 *) (txh + 1) + D11_PHY_HDR_LEN);
- return (ltoh16(h->seq) >> SEQNUM_SHIFT);
+ return ltoh16(h->seq) >> SEQNUM_SHIFT;
}
ampdu_info_t *BCMATTACHFN(wlc_ampdu_attach) (wlc_info_t *wlc)
@@ -1400,7 +1400,7 @@ void wlc_ampdu_macaddr_upd(wlc_info_t *wlc)
bool wlc_aggregatable(wlc_info_t *wlc, uint8 tid)
{
- return (wlc->ampdu->ini_enable[tid]);
+ return wlc->ampdu->ini_enable[tid];
}
void wlc_ampdu_shm_upd(ampdu_info_t *ampdu)
OpenPOWER on IntegriCloud