Skip to content

Commit

Permalink
staging: rtl8192u: Fix typo in staging/rtl8192u
Browse files Browse the repository at this point in the history
Correct spelling typo in staging/rtl8192u

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Masanari Iida authored and Greg Kroah-Hartman committed Aug 14, 2012
1 parent 3d604a3 commit 935d59f
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192u/ieee80211/ieee80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -2114,7 +2114,7 @@ struct ieee80211_device {
struct ieee80211_network * network, u16 type);
int (*is_qos_active) (struct net_device *dev, struct sk_buff *skb);

/* Softmac-generated frames (mamagement) are TXed via this
/* Softmac-generated frames (management) are TXed via this
* callback if the flag IEEE_SOFTMAC_SINGLE_QUEUE is
* not set. As some cards may have different HW queues that
* one might want to use for data and management frames
Expand Down Expand Up @@ -2192,7 +2192,7 @@ struct ieee80211_device {
int (*handle_assoc_response) (struct net_device * dev, struct ieee80211_assoc_response_frame * resp, struct ieee80211_network * network);


/* check whether Tx hw resouce available */
/* check whether Tx hw resource available */
short (*check_nic_enough_desc)(struct net_device *dev, int queue_index);
//added by wb for HT related
// void (*SwChnlByTimerHandler)(struct net_device *dev, int channel);
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,7 @@ inline void ieee80211_softmac_new_net(struct ieee80211_device *ieee, struct ieee
( apset && apmatch &&
((ssidset && ssidbroad && ssidmatch) || (ssidbroad && !ssidset) || (!ssidbroad && ssidset)) ) ||
/* if the ap is not set, check that the user set the bssid
* and the network does bradcast and that those two bssid matches
* and the network does broadcast and that those two bssid matches
*/
(!apset && ssidset && ssidbroad && ssidmatch)
){
Expand Down Expand Up @@ -2520,7 +2520,7 @@ void ieee80211_associate_retry_wq(struct work_struct *work)

/* until we do not set the state to IEEE80211_NOLINK
* there are no possibility to have someone else trying
* to start an association procdure (we get here with
* to start an association procedure (we get here with
* ieee->state = IEEE80211_ASSOCIATING).
* When we set the state to IEEE80211_NOLINK it is possible
* that the RX path run an attempt to associate, but
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/********************************************************************************************************************************
* This file is created to process BA Action Frame. According to 802.11 spec, there are 3 BA action types at all. And as BA is
* related to TS, this part need some struture defined in QOS side code. Also TX RX is going to be resturctured, so how to send
* related to TS, this part need some structure defined in QOS side code. Also TX RX is going to be resturctured, so how to send
* ADDBAREQ ADDBARSP and DELBA packet is still on consideration. Temporarily use MANAGE QUEUE instead of Normal Queue.
* WB 2008-05-27
* *****************************************************************************************************************************/
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define HT_OPMODE_MIXED 3

//
// MIMO Power Save Setings
// MIMO Power Save Settings
//
#define MIMO_PS_STATIC 0
#define MIMO_PS_DYNAMIC 1
Expand Down Expand Up @@ -242,7 +242,7 @@ typedef struct _RT_HIGH_THROUGHPUT{
u8 bEnableHT;
u8 bCurrentHTSupport;

u8 bRegBW40MHz; // Tx 40MHz channel capablity
u8 bRegBW40MHz; // Tx 40MHz channel capability
u8 bCurBW40MHz; // Tx 40MHz channel capability

u8 bRegShortGI40MHz; // Tx Short GI for 40Mhz
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ u8 HTFilterMCSRate( struct ieee80211_device* ieee, u8* pSupportMCS, u8* pOperate

u8 i=0;

// filter out operational rate set not supported by AP, the lenth of it is 16
// filter out operational rate set not supported by AP, the length of it is 16
for(i=0;i<=15;i++){
pOperateMCS[i] = ieee->Regdot11HTOperationalRateSet[i]&pSupportMCS[i];
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192u/r819xU_HTType.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define HT_OPMODE_MIXED 3

//
// MIMO Power Save Setings
// MIMO Power Save Settings
//
#define MIMO_PS_STATIC 0
#define MIMO_PS_DYNAMIC 1
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192u/r819xU_phyreg.h
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@
#define bCCKRxIG 0x7f00
#define bCCKLNAPolarity 0x800000
#define bCCKRx1stGain 0x7f0000
#define bCCKRFExtend 0x20000000 //CCK Rx inital gain polarity
#define bCCKRFExtend 0x20000000 //CCK Rx initial gain polarity
#define bCCKRxAGCSatLevel 0x1f000000
#define bCCKRxAGCSatCount 0xe0
#define bCCKRxRFSettle 0x1f //AGCsamp_dly
Expand Down

0 comments on commit 935d59f

Please sign in to comment.