|
@@ -557,7 +557,7 @@ int ODM_RAInfo_Init(struct odm_dm_struct *dm_odm, u8 macid)
|
|
|
u8 WirelessMode = 0xFF; /* invalid value */
|
|
|
u8 max_rate_idx = 0x13; /* MCS7 */
|
|
|
|
|
|
- if (dm_odm->pWirelessMode != NULL)
|
|
|
+ if (dm_odm->pWirelessMode)
|
|
|
WirelessMode = *(dm_odm->pWirelessMode);
|
|
|
|
|
|
if (WirelessMode != 0xFF) {
|