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
nexedi
linux
Commits
815868e7
Commit
815868e7
authored
Jul 13, 2010
by
John W. Linville
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
084cb0fe
f8036965
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
drivers/net/wireless/ath/ath9k/hif_usb.c
drivers/net/wireless/ath/ath9k/hif_usb.c
+6
-2
drivers/net/wireless/iwlwifi/iwl-sta.h
drivers/net/wireless/iwlwifi/iwl-sta.h
+11
-0
No files found.
drivers/net/wireless/ath/ath9k/hif_usb.c
View file @
815868e7
...
...
@@ -745,13 +745,17 @@ static int ath9k_hif_usb_alloc_urbs(struct hif_device_usb *hif_dev)
/* RX */
if
(
ath9k_hif_usb_alloc_rx_urbs
(
hif_dev
)
<
0
)
goto
err
;
goto
err
_rx
;
/* Register Read */
if
(
ath9k_hif_usb_alloc_reg_in_urb
(
hif_dev
)
<
0
)
goto
err
;
goto
err
_reg
;
return
0
;
err_reg:
ath9k_hif_usb_dealloc_rx_urbs
(
hif_dev
);
err_rx:
ath9k_hif_usb_dealloc_tx_urbs
(
hif_dev
);
err:
return
-
ENOMEM
;
}
...
...
drivers/net/wireless/iwlwifi/iwl-sta.h
View file @
815868e7
...
...
@@ -98,6 +98,17 @@ static inline void iwl_clear_driver_stations(struct iwl_priv *priv)
spin_lock_irqsave
(
&
priv
->
sta_lock
,
flags
);
memset
(
priv
->
stations
,
0
,
sizeof
(
priv
->
stations
));
priv
->
num_stations
=
0
;
/*
* Remove all key information that is not stored as part of station
* information since mac80211 may not have had a
* chance to remove all the keys. When device is reconfigured by
* mac80211 after an error all keys will be reconfigured.
*/
priv
->
ucode_key_table
=
0
;
priv
->
key_mapping_key
=
0
;
memset
(
priv
->
wep_keys
,
0
,
sizeof
(
priv
->
wep_keys
));
spin_unlock_irqrestore
(
&
priv
->
sta_lock
,
flags
);
}
...
...
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