Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249088
b: refs/heads/master
c: 2657c30
h: refs/heads/master
v: v3
  • Loading branch information
Javier M. Mellid authored and Greg Kroah-Hartman committed Apr 20, 2011
1 parent c9f126e commit 3c86056
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0593758e4b71836d3a95714b626d273ee51173e0
refs/heads/master: 2657c30e238424cfa666883d459dc132a9e1e59c
2 changes: 1 addition & 1 deletion trunk/drivers/staging/rtl8712/rtl8712_led.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* LED object.
*===========================================================================
*/
enum _LED_STATE_871x{
enum _LED_STATE_871x {
LED_UNKNOWN = 0,
LED_ON = 1,
LED_OFF = 2,
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/rtl8712/rtl871x_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ u8 r8712_joinbss_cmd(struct _adapter *padapter, struct wlan_network *pnetwork)
* to avoid some IOT issues, especially for Realtek 8192u
* SoftAP.
*/
if ((padapter->securitypriv.PrivacyAlgrthm != _WEP40_ ) &&
(padapter->securitypriv.PrivacyAlgrthm != _WEP104_ )) {
if ((padapter->securitypriv.PrivacyAlgrthm != _WEP40_) &&
(padapter->securitypriv.PrivacyAlgrthm != _WEP104_)) {
/* restructure_ht_ie */
r8712_restructure_ht_ie(padapter,
&pnetwork->network.IEs[0],
Expand Down
6 changes: 4 additions & 2 deletions trunk/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ static inline char *translate_scan(struct _adapter *padapter,
memset(buf, 0, MAX_WPA_IE_LEN);
n = sprintf(buf, "wpa_ie=");
for (i = 0; i < wpa_len; i++) {
n += snprintf(buf + n, MAX_WPA_IE_LEN - n, "%02x", wpa_ie[i]);
n += snprintf(buf + n, MAX_WPA_IE_LEN - n,
"%02x", wpa_ie[i]);
if (n >= MAX_WPA_IE_LEN)
break;
}
Expand All @@ -310,7 +311,8 @@ static inline char *translate_scan(struct _adapter *padapter,
memset(buf, 0, MAX_WPA_IE_LEN);
n = sprintf(buf, "rsn_ie=");
for (i = 0; i < rsn_len; i++) {
n += snprintf(buf + n, MAX_WPA_IE_LEN - n, "%02x", rsn_ie[i]);
n += snprintf(buf + n, MAX_WPA_IE_LEN - n,
"%02x", rsn_ie[i]);
if (n >= MAX_WPA_IE_LEN)
break;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/rtl8712/rtl871x_ioctl_rtl.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ uint oid_rt_pro_rf_read_registry_hdl(struct oid_par_priv *poid_par_priv)
return status;
}

enum _CONNECT_STATE_{
enum _CONNECT_STATE_ {
CHECKINGSTATUS,
ASSOCIATED,
ADHOCMODE,
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/staging/rtl8712/rtl871x_mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,10 @@ static u32 get_bb_reg(struct _adapter *pAdapter, u16 offset, u32 bitmask)
return new_value;
}

static u8 set_bb_reg(struct _adapter *pAdapter, u16 offset, u32 bitmask, u32 value)
static u8 set_bb_reg(struct _adapter *pAdapter,
u16 offset,
u32 bitmask,
u32 value)
{
u32 org_value, bit_shift, new_value;

Expand Down
16 changes: 9 additions & 7 deletions trunk/drivers/staging/rtl8712/rtl871x_recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,9 @@ static sint recv_decache(union recv_frame *precv_frame, u8 bretry,
return _SUCCESS;
}

static sint sta2sta_data_frame(struct _adapter *adapter, union recv_frame *precv_frame,
struct sta_info **psta
)
static sint sta2sta_data_frame(struct _adapter *adapter,
union recv_frame *precv_frame,
struct sta_info **psta)
{
u8 *ptr = precv_frame->u.hdr.rx_data;
sint ret = _SUCCESS;
Expand Down Expand Up @@ -373,8 +373,9 @@ static sint sta2sta_data_frame(struct _adapter *adapter, union recv_frame *precv
return ret;
}

static sint ap2sta_data_frame(struct _adapter *adapter, union recv_frame *precv_frame,
struct sta_info **psta)
static sint ap2sta_data_frame(struct _adapter *adapter,
union recv_frame *precv_frame,
struct sta_info **psta)
{
u8 *ptr = precv_frame->u.hdr.rx_data;
struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib;
Expand Down Expand Up @@ -431,8 +432,9 @@ static sint ap2sta_data_frame(struct _adapter *adapter, union recv_frame *precv_
return _SUCCESS;
}

static sint sta2ap_data_frame(struct _adapter *adapter, union recv_frame *precv_frame,
struct sta_info **psta)
static sint sta2ap_data_frame(struct _adapter *adapter,
union recv_frame *precv_frame,
struct sta_info **psta)
{
struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib;
struct sta_priv *pstapriv = &adapter->stapriv;
Expand Down

0 comments on commit 3c86056

Please sign in to comment.