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
63c66424
Commit
63c66424
authored
Sep 25, 2012
by
John W. Linville
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-john' of
git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next
parents
5419575e
513aa3b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
drivers/net/wireless/iwlwifi/dvm/scan.c
drivers/net/wireless/iwlwifi/dvm/scan.c
+2
-2
drivers/net/wireless/iwlwifi/dvm/sta.c
drivers/net/wireless/iwlwifi/dvm/sta.c
+4
-3
No files found.
drivers/net/wireless/iwlwifi/dvm/scan.c
View file @
63c66424
...
@@ -612,9 +612,9 @@ static u16 iwl_fill_probe_req(struct ieee80211_mgmt *frame, const u8 *ta,
...
@@ -612,9 +612,9 @@ static u16 iwl_fill_probe_req(struct ieee80211_mgmt *frame, const u8 *ta,
return
0
;
return
0
;
frame
->
frame_control
=
cpu_to_le16
(
IEEE80211_STYPE_PROBE_REQ
);
frame
->
frame_control
=
cpu_to_le16
(
IEEE80211_STYPE_PROBE_REQ
);
memcpy
(
frame
->
da
,
iwl_bcast_addr
,
ETH_ALEN
);
eth_broadcast_addr
(
frame
->
da
);
memcpy
(
frame
->
sa
,
ta
,
ETH_ALEN
);
memcpy
(
frame
->
sa
,
ta
,
ETH_ALEN
);
memcpy
(
frame
->
bssid
,
iwl_bcast_addr
,
ETH_ALEN
);
eth_broadcast_addr
(
frame
->
bssid
);
frame
->
seq_ctrl
=
0
;
frame
->
seq_ctrl
=
0
;
len
+=
24
;
len
+=
24
;
...
...
drivers/net/wireless/iwlwifi/dvm/sta.c
View file @
63c66424
...
@@ -128,10 +128,11 @@ int iwl_add_sta_callback(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb,
...
@@ -128,10 +128,11 @@ int iwl_add_sta_callback(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb,
struct
iwl_device_cmd
*
cmd
)
struct
iwl_device_cmd
*
cmd
)
{
{
struct
iwl_rx_packet
*
pkt
=
rxb_addr
(
rxb
);
struct
iwl_rx_packet
*
pkt
=
rxb_addr
(
rxb
);
struct
iwl_addsta_cmd
*
addsta
=
(
struct
iwl_addsta_cmd
*
)
cmd
->
payload
;
return
iwl_process_add_sta_resp
(
priv
,
addsta
,
pkt
);
if
(
!
cmd
)
return
0
;
return
iwl_process_add_sta_resp
(
priv
,
(
void
*
)
cmd
->
payload
,
pkt
);
}
}
int
iwl_send_add_sta
(
struct
iwl_priv
*
priv
,
int
iwl_send_add_sta
(
struct
iwl_priv
*
priv
,
...
...
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