projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Staging: rt3070: remove DOT11_N_SUPPORT ifdefs
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
staging
/
rt3070
/
chlist.h
diff --git
a/drivers/staging/rt3070/chlist.h
b/drivers/staging/rt3070/chlist.h
index 7151e8668cb5e325aa8cc612661a1de07a69a189..3527b0dfb2204278d0e734a1489580c10d77f713 100644
(file)
--- a/
drivers/staging/rt3070/chlist.h
+++ b/
drivers/staging/rt3070/chlist.h
@@
-957,16
+957,12
@@
static inline VOID ChBandCheck(
switch(PhyMode)
{
case PHY_11A:
switch(PhyMode)
{
case PHY_11A:
-#ifdef DOT11_N_SUPPORT
case PHY_11AN_MIXED:
case PHY_11AN_MIXED:
-#endif // DOT11_N_SUPPORT //
*pChType = BAND_5G;
break;
case PHY_11ABG_MIXED:
*pChType = BAND_5G;
break;
case PHY_11ABG_MIXED:
-#ifdef DOT11_N_SUPPORT
case PHY_11AGN_MIXED:
case PHY_11ABGN_MIXED:
case PHY_11AGN_MIXED:
case PHY_11ABGN_MIXED:
-#endif // DOT11_N_SUPPORT //
*pChType = BAND_BOTH;
break;
*pChType = BAND_BOTH;
break;
@@
-1114,8
+1110,6
@@
static inline VOID BuildBeaconChList(
}
}
}
}
-
-#ifdef DOT11_N_SUPPORT
static inline BOOLEAN IsValidChannel(
IN PRTMP_ADAPTER pAd,
IN UCHAR channel)
static inline BOOLEAN IsValidChannel(
IN PRTMP_ADAPTER pAd,
IN UCHAR channel)
@@
-1230,8
+1224,6
@@
static inline VOID N_SetCenCh(
pAd->CommonCfg.CentralChannel = pAd->CommonCfg.Channel;
}
}
pAd->CommonCfg.CentralChannel = pAd->CommonCfg.Channel;
}
}
-#endif // DOT11_N_SUPPORT //
-
static inline UINT8 GetCuntryMaxTxPwr(
IN PRTMP_ADAPTER pAd,
static inline UINT8 GetCuntryMaxTxPwr(
IN PRTMP_ADAPTER pAd,