]> git.karo-electronics.de Git - linux-beck.git/commitdiff
brcmfmac: (clean) Rename dhd_common.c in common.c
authorHante Meuleman <meuleman@broadcom.com>
Tue, 28 Oct 2014 13:56:15 +0000 (14:56 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 30 Oct 2014 19:26:45 +0000 (15:26 -0400)
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/Makefile
drivers/net/wireless/brcm80211/brcmfmac/common.c [moved from drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c with 99% similarity]

index 1da9042c8aba0fb7b902cebc97972d74f7e8040d..f6e35c95b829bfb35cabf6439351042656f267bf 100644 (file)
@@ -30,7 +30,7 @@ brcmfmac-objs += \
                fwsignal.o \
                p2p.o \
                proto.o \
-               dhd_common.o \
+               common.o \
                dhd_linux.o \
                firmware.o \
                feature.o \
similarity index 99%
rename from drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
rename to drivers/net/wireless/brcm80211/brcmfmac/common.c
index 7723994136a1e3b831a80f594fe6bb122dfe9d7f..75642e46c37adf004e36c21e074db4d7ed348158 100644 (file)
@@ -52,9 +52,9 @@ bool brcmf_c_prec_enq(struct device *dev, struct pktq *q,
        }
 
        /* Determine precedence from which to evict packet, if any */
-       if (pktq_pfull(q, prec))
+       if (pktq_pfull(q, prec)) {
                eprec = prec;
-       else if (pktq_full(q)) {
+       else if (pktq_full(q)) {
                p = brcmu_pktq_peek_tail(q, &eprec);
                if (eprec > prec)
                        return false;