Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
74fae82c
Commit
74fae82c
authored
Jul 31, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[wireless hostap] trim trailing whitespace
parent
4fa969cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
drivers/net/wireless/hostap/hostap_ap.c
drivers/net/wireless/hostap/hostap_ap.c
+5
-5
drivers/net/wireless/hostap/hostap_cs.c
drivers/net/wireless/hostap/hostap_cs.c
+2
-2
drivers/net/wireless/hostap/hostap_ioctl.c
drivers/net/wireless/hostap/hostap_ioctl.c
+1
-1
No files found.
drivers/net/wireless/hostap/hostap_ap.c
View file @
74fae82c
...
...
@@ -489,7 +489,7 @@ static void ap_control_kickall(struct ap_data *ap)
{
struct
list_head
*
ptr
,
*
n
;
struct
sta_info
*
sta
;
spin_lock_bh
(
&
ap
->
sta_table_lock
);
for
(
ptr
=
ap
->
sta_list
.
next
,
n
=
ptr
->
next
;
ptr
!=
&
ap
->
sta_list
;
ptr
=
n
,
n
=
ptr
->
next
)
{
...
...
@@ -1573,7 +1573,7 @@ static void handle_assoc(local_info_t *local, struct sk_buff *skb,
u
++
;
left
--
;
ileft
=
*
u
;
u
++
;
left
--
;
if
(
ileft
>
left
||
ileft
==
0
||
ileft
>
WLAN_SUPP_RATES_MAX
)
{
txt
=
"SUPP_RATES len error"
;
...
...
@@ -2047,7 +2047,7 @@ static void handle_beacon(local_info_t *local, struct sk_buff *skb,
u
++
;
left
--
;
ileft
=
*
u
;
u
++
;
left
--
;
if
(
ileft
>
left
||
ileft
==
0
||
ileft
>
8
)
{
PDEBUG
(
DEBUG_AP
,
" - SUPP_RATES len error
\n
"
);
return
;
...
...
@@ -2064,7 +2064,7 @@ static void handle_beacon(local_info_t *local, struct sk_buff *skb,
u
++
;
left
--
;
ileft
=
*
u
;
u
++
;
left
--
;
if
(
ileft
>
left
||
ileft
!=
1
)
{
PDEBUG
(
DEBUG_AP
,
" - DS_PARAMS len error
\n
"
);
return
;
...
...
@@ -2839,7 +2839,7 @@ void hostap_handle_sta_tx_exc(local_info_t *local, struct sk_buff *skb)
sta
->
tx_since_last_failure
=
0
;
sta
->
tx_consecutive_exc
++
;
if
(
sta
->
tx_consecutive_exc
>=
WLAN_RATE_DECREASE_THRESHOLD
&&
sta
->
tx_rate_idx
>
0
&&
meta
->
rate
<=
sta
->
tx_rate
)
{
/* use next lower rate */
...
...
drivers/net/wireless/hostap/hostap_cs.c
View file @
74fae82c
...
...
@@ -644,13 +644,13 @@ static int prism2_config(dev_link_t *link)
link
->
conf
.
ConfigIndex
=
cfg
->
index
;
PDEBUG
(
DEBUG_EXTRA
,
"Checking CFTABLE_ENTRY 0x%02X "
"(default 0x%02X)
\n
"
,
cfg
->
index
,
dflt
.
index
);
/* Does this card need audio output? */
if
(
cfg
->
flags
&
CISTPL_CFTABLE_AUDIO
)
{
link
->
conf
.
Attributes
|=
CONF_ENABLE_SPKR
;
link
->
conf
.
Status
=
CCSR_AUDIO_ENA
;
}
/* Use power settings for Vcc and Vpp if present */
/* Note that the CIS values need to be rescaled */
if
(
cfg
->
vcc
.
present
&
(
1
<<
CISTPL_POWER_VNOM
))
{
...
...
drivers/net/wireless/hostap/hostap_ioctl.c
View file @
74fae82c
...
...
@@ -335,7 +335,7 @@ static int hostap_set_rate(struct net_device *dev)
hostap_set_word
(
dev
,
HFA384X_RID_CNFSUPPORTEDRATES
,
local
->
tx_rate_control
)
||
local
->
func
->
reset_port
(
dev
));
if
(
ret
)
{
printk
(
KERN_WARNING
"%s: TXRateControl/cnfSupportedRates "
"setting to 0x%x failed
\n
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment