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
c2f3252b
Commit
c2f3252b
authored
Mar 20, 2009
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
parents
5ed0102f
f3f92586
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
net/wireless/nl80211.c
net/wireless/nl80211.c
+11
-0
No files found.
net/wireless/nl80211.c
View file @
c2f3252b
...
...
@@ -1908,6 +1908,11 @@ static int nl80211_get_mesh_params(struct sk_buff *skb,
if
(
err
)
return
err
;
if
(
!
drv
->
ops
->
get_mesh_params
)
{
err
=
-
EOPNOTSUPP
;
goto
out
;
}
/* Get the mesh params */
rtnl_lock
();
err
=
drv
->
ops
->
get_mesh_params
(
&
drv
->
wiphy
,
dev
,
&
cur_params
);
...
...
@@ -2017,6 +2022,11 @@ static int nl80211_set_mesh_params(struct sk_buff *skb, struct genl_info *info)
if
(
err
)
return
err
;
if
(
!
drv
->
ops
->
set_mesh_params
)
{
err
=
-
EOPNOTSUPP
;
goto
out
;
}
/* This makes sure that there aren't more than 32 mesh config
* parameters (otherwise our bitfield scheme would not work.) */
BUILD_BUG_ON
(
NL80211_MESHCONF_ATTR_MAX
>
32
);
...
...
@@ -2061,6 +2071,7 @@ static int nl80211_set_mesh_params(struct sk_buff *skb, struct genl_info *info)
err
=
drv
->
ops
->
set_mesh_params
(
&
drv
->
wiphy
,
dev
,
&
cfg
,
mask
);
rtnl_unlock
();
out:
/* cleanup */
cfg80211_put_dev
(
drv
);
dev_put
(
dev
);
...
...
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