Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
1acf6ba0
Commit
1acf6ba0
authored
May 31, 2007
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mac80211' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
parents
9a834b87
91fa558b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
net/mac80211/ieee80211.c
net/mac80211/ieee80211.c
+5
-1
net/mac80211/ieee80211_sta.c
net/mac80211/ieee80211_sta.c
+3
-1
No files found.
net/mac80211/ieee80211.c
View file @
1acf6ba0
...
...
@@ -2474,6 +2474,8 @@ static int ieee80211_open(struct net_device *dev)
if
(
sdata
->
type
==
IEEE80211_IF_TYPE_STA
&&
!
local
->
user_space_mlme
)
netif_carrier_off
(
dev
);
else
netif_carrier_on
(
dev
);
netif_start_queue
(
dev
);
return
0
;
...
...
@@ -3278,8 +3280,10 @@ ieee80211_rx_h_defragment(struct ieee80211_txrx_data *rx)
return
TXRX_DROP
;
}
}
while
((
skb
=
__skb_dequeue
(
&
entry
->
skb_list
)))
while
((
skb
=
__skb_dequeue
(
&
entry
->
skb_list
)))
{
memcpy
(
skb_put
(
rx
->
skb
,
skb
->
len
),
skb
->
data
,
skb
->
len
);
dev_kfree_skb
(
skb
);
}
/* Complete frame has been reassembled - process it now */
rx
->
fragmented
=
1
;
...
...
net/mac80211/ieee80211_sta.c
View file @
1acf6ba0
...
...
@@ -1155,6 +1155,8 @@ static void ieee80211_rx_mgmt_assoc_resp(struct net_device *dev,
if
(
status_code
!=
WLAN_STATUS_SUCCESS
)
{
printk
(
KERN_DEBUG
"%s: AP denied association (code=%d)
\n
"
,
dev
->
name
,
status_code
);
if
(
status_code
==
WLAN_STATUS_REASSOC_NO_ASSOC
)
ifsta
->
prev_bssid_set
=
0
;
return
;
}
...
...
@@ -2995,7 +2997,7 @@ struct sta_info * ieee80211_ibss_add_sta(struct net_device *dev,
{
struct
ieee80211_local
*
local
=
wdev_priv
(
dev
->
ieee80211_ptr
);
struct
sta_info
*
sta
;
struct
ieee80211_sub_if_data
*
sdata
=
NULL
;
struct
ieee80211_sub_if_data
*
sdata
=
IEEE80211_DEV_TO_SUB_IF
(
dev
)
;
/* TODO: Could consider removing the least recently used entry and
* allow new one to be added. */
...
...
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