mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-26 15:14:02 +00:00
Fixed warning about 'EVM' by assigning '0' to it
It is arbitrary, but I guess better then 'undefined'.
This commit is contained in:
parent
c03512a8d1
commit
fd0b838631
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License forEVM = 100
|
||||||
* more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along with
|
* You should have received a copy of the GNU General Public License along with
|
||||||
@ -1279,7 +1279,9 @@ odm_RxPhyStatusJaguarSeries_Parsing(
|
|||||||
EVM += 20;
|
EVM += 20;
|
||||||
if (EVM > 100)
|
if (EVM > 100)
|
||||||
EVM = 100;
|
EVM = 100;
|
||||||
}
|
} else {
|
||||||
|
// it's a made up value, but Realtek apparently assumed 'this would never happen'
|
||||||
|
EVM = 0;
|
||||||
} else {
|
} else {
|
||||||
if (i < ODM_RF_PATH_C) {
|
if (i < ODM_RF_PATH_C) {
|
||||||
if (pPhyStaRpt->rxevm[i] == -128)
|
if (pPhyStaRpt->rxevm[i] == -128)
|
||||||
|
Loading…
Reference in New Issue
Block a user