diff options
author | Arend van Spriel <arend@broadcom.com> | 2013-06-18 07:29:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-18 14:46:48 -0400 |
commit | 4e89dfca87ae5a97c616c6ac9b2a9a15cc28903d (patch) | |
tree | a0657cfe8167f41308a0c775897579373d7b28e4 | |
parent | 7d747037b0642f6d939d6b0bb255b938b5f3c3ab (diff) |
brcmfmac: rename variable prec to more appropriate name, ie. fifo
The term prec (precedence) is different from the fifo number. Rename
use of prec with fifo to be consistent and clear.
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c b/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c index 1d8fa7dfa53d..e66b723c1279 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c | |||
@@ -839,7 +839,7 @@ static int brcmf_fws_hdrpush(struct brcmf_fws_info *fws, struct sk_buff *skb) | |||
839 | 839 | ||
840 | static bool brcmf_fws_tim_update(struct brcmf_fws_info *fws, | 840 | static bool brcmf_fws_tim_update(struct brcmf_fws_info *fws, |
841 | struct brcmf_fws_mac_descriptor *entry, | 841 | struct brcmf_fws_mac_descriptor *entry, |
842 | int prec, bool send_immediately) | 842 | int fifo, bool send_immediately) |
843 | { | 843 | { |
844 | struct sk_buff *skb; | 844 | struct sk_buff *skb; |
845 | struct brcmf_bus *bus; | 845 | struct brcmf_bus *bus; |
@@ -848,10 +848,10 @@ static bool brcmf_fws_tim_update(struct brcmf_fws_info *fws, | |||
848 | u32 len; | 848 | u32 len; |
849 | 849 | ||
850 | /* check delayedQ and suppressQ in one call using bitmap */ | 850 | /* check delayedQ and suppressQ in one call using bitmap */ |
851 | if (brcmu_pktq_mlen(&entry->psq, 3 << (prec * 2)) == 0) | 851 | if (brcmu_pktq_mlen(&entry->psq, 3 << (fifo * 2)) == 0) |
852 | entry->traffic_pending_bmp &= ~NBITVAL(prec); | 852 | entry->traffic_pending_bmp &= ~NBITVAL(fifo); |
853 | else | 853 | else |
854 | entry->traffic_pending_bmp |= NBITVAL(prec); | 854 | entry->traffic_pending_bmp |= NBITVAL(fifo); |
855 | 855 | ||
856 | entry->send_tim_signal = false; | 856 | entry->send_tim_signal = false; |
857 | if (entry->traffic_lastreported_bmp != entry->traffic_pending_bmp) | 857 | if (entry->traffic_lastreported_bmp != entry->traffic_pending_bmp) |