Adjust for procfs changes in Linux 2.6.32
[madwifi/.git] / ath_hal / ar5210 / ar5210_reset.c
index 6a082e0a875bcc2f7d3dee0fe08f02b19ce7c93c..5e103a0787af5d60da16c2ab47dce281193fe676 100644 (file)
@@ -691,6 +691,7 @@ getGainF(struct ath_hal *ah, const struct tpcMap *pRD,
                        "%s: no valid entries in the pcdac table: %d\n",
                        __func__, pcdac);
 #endif
+               *dBm = 0;
                return 63;
        }
        if (i >= AR_TP_SCALING_ENTRIES) {