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
b4496d44
Commit
b4496d44
authored
Jun 04, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6
parents
b9031d9d
4546002c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
15 deletions
+40
-15
drivers/net/wireless/airo.c
drivers/net/wireless/airo.c
+1
-1
drivers/net/wireless/b43legacy/main.c
drivers/net/wireless/b43legacy/main.c
+9
-8
drivers/net/wireless/ipw2200.c
drivers/net/wireless/ipw2200.c
+25
-2
drivers/net/wireless/libertas/debugfs.c
drivers/net/wireless/libertas/debugfs.c
+2
-2
drivers/net/wireless/p54/p54usb.c
drivers/net/wireless/p54/p54usb.c
+1
-0
drivers/ssb/driver_pcicore.c
drivers/ssb/driver_pcicore.c
+2
-2
No files found.
drivers/net/wireless/airo.c
View file @
b4496d44
...
@@ -2905,7 +2905,7 @@ EXPORT_SYMBOL(init_airo_card);
...
@@ -2905,7 +2905,7 @@ EXPORT_SYMBOL(init_airo_card);
static
int
waitbusy
(
struct
airo_info
*
ai
)
{
static
int
waitbusy
(
struct
airo_info
*
ai
)
{
int
delay
=
0
;
int
delay
=
0
;
while
((
IN4500
(
ai
,
COMMAND
)
&
COMMAND_BUSY
)
&&
(
delay
<
10000
))
{
while
((
IN4500
(
ai
,
COMMAND
)
&
COMMAND_BUSY
)
&&
(
delay
<
10000
))
{
udelay
(
10
);
udelay
(
10
);
if
((
++
delay
%
20
)
==
0
)
if
((
++
delay
%
20
)
==
0
)
OUT4500
(
ai
,
EVACK
,
EV_CLEARCOMMANDBUSY
);
OUT4500
(
ai
,
EVACK
,
EV_CLEARCOMMANDBUSY
);
...
...
drivers/net/wireless/b43legacy/main.c
View file @
b4496d44
...
@@ -3039,7 +3039,6 @@ static void b43legacy_set_pretbtt(struct b43legacy_wldev *dev)
...
@@ -3039,7 +3039,6 @@ static void b43legacy_set_pretbtt(struct b43legacy_wldev *dev)
/* Locking: wl->mutex */
/* Locking: wl->mutex */
static
void
b43legacy_wireless_core_exit
(
struct
b43legacy_wldev
*
dev
)
static
void
b43legacy_wireless_core_exit
(
struct
b43legacy_wldev
*
dev
)
{
{
struct
b43legacy_wl
*
wl
=
dev
->
wl
;
struct
b43legacy_phy
*
phy
=
&
dev
->
phy
;
struct
b43legacy_phy
*
phy
=
&
dev
->
phy
;
u32
macctl
;
u32
macctl
;
...
@@ -3054,12 +3053,6 @@ static void b43legacy_wireless_core_exit(struct b43legacy_wldev *dev)
...
@@ -3054,12 +3053,6 @@ static void b43legacy_wireless_core_exit(struct b43legacy_wldev *dev)
macctl
|=
B43legacy_MACCTL_PSM_JMP0
;
macctl
|=
B43legacy_MACCTL_PSM_JMP0
;
b43legacy_write32
(
dev
,
B43legacy_MMIO_MACCTL
,
macctl
);
b43legacy_write32
(
dev
,
B43legacy_MMIO_MACCTL
,
macctl
);
mutex_unlock
(
&
wl
->
mutex
);
/* Must unlock as it would otherwise deadlock. No races here.
* Cancel possibly pending workqueues. */
cancel_work_sync
(
&
dev
->
restart_work
);
mutex_lock
(
&
wl
->
mutex
);
b43legacy_leds_exit
(
dev
);
b43legacy_leds_exit
(
dev
);
b43legacy_rng_exit
(
dev
->
wl
);
b43legacy_rng_exit
(
dev
->
wl
);
b43legacy_pio_free
(
dev
);
b43legacy_pio_free
(
dev
);
...
@@ -3486,6 +3479,8 @@ static void b43legacy_chip_reset(struct work_struct *work)
...
@@ -3486,6 +3479,8 @@ static void b43legacy_chip_reset(struct work_struct *work)
}
}
}
}
out:
out:
if
(
err
)
wl
->
current_dev
=
NULL
;
/* Failed to init the dev. */
mutex_unlock
(
&
wl
->
mutex
);
mutex_unlock
(
&
wl
->
mutex
);
if
(
err
)
if
(
err
)
b43legacyerr
(
wl
,
"Controller restart FAILED
\n
"
);
b43legacyerr
(
wl
,
"Controller restart FAILED
\n
"
);
...
@@ -3618,9 +3613,11 @@ static void b43legacy_one_core_detach(struct ssb_device *dev)
...
@@ -3618,9 +3613,11 @@ static void b43legacy_one_core_detach(struct ssb_device *dev)
struct
b43legacy_wldev
*
wldev
;
struct
b43legacy_wldev
*
wldev
;
struct
b43legacy_wl
*
wl
;
struct
b43legacy_wl
*
wl
;
/* Do not cancel ieee80211-workqueue based work here.
* See comment in b43legacy_remove(). */
wldev
=
ssb_get_drvdata
(
dev
);
wldev
=
ssb_get_drvdata
(
dev
);
wl
=
wldev
->
wl
;
wl
=
wldev
->
wl
;
cancel_work_sync
(
&
wldev
->
restart_work
);
b43legacy_debugfs_remove_device
(
wldev
);
b43legacy_debugfs_remove_device
(
wldev
);
b43legacy_wireless_core_detach
(
wldev
);
b43legacy_wireless_core_detach
(
wldev
);
list_del
(
&
wldev
->
list
);
list_del
(
&
wldev
->
list
);
...
@@ -3789,6 +3786,10 @@ static void b43legacy_remove(struct ssb_device *dev)
...
@@ -3789,6 +3786,10 @@ static void b43legacy_remove(struct ssb_device *dev)
struct
b43legacy_wl
*
wl
=
ssb_get_devtypedata
(
dev
);
struct
b43legacy_wl
*
wl
=
ssb_get_devtypedata
(
dev
);
struct
b43legacy_wldev
*
wldev
=
ssb_get_drvdata
(
dev
);
struct
b43legacy_wldev
*
wldev
=
ssb_get_drvdata
(
dev
);
/* We must cancel any work here before unregistering from ieee80211,
* as the ieee80211 unreg will destroy the workqueue. */
cancel_work_sync
(
&
wldev
->
restart_work
);
B43legacy_WARN_ON
(
!
wl
);
B43legacy_WARN_ON
(
!
wl
);
if
(
wl
->
current_dev
==
wldev
)
if
(
wl
->
current_dev
==
wldev
)
ieee80211_unregister_hw
(
wl
->
hw
);
ieee80211_unregister_hw
(
wl
->
hw
);
...
...
drivers/net/wireless/ipw2200.c
View file @
b4496d44
...
@@ -7558,8 +7558,31 @@ static int ipw_associate(void *data)
...
@@ -7558,8 +7558,31 @@ static int ipw_associate(void *data)
priv
->
ieee
->
iw_mode
==
IW_MODE_ADHOC
&&
priv
->
ieee
->
iw_mode
==
IW_MODE_ADHOC
&&
priv
->
config
&
CFG_ADHOC_CREATE
&&
priv
->
config
&
CFG_ADHOC_CREATE
&&
priv
->
config
&
CFG_STATIC_ESSID
&&
priv
->
config
&
CFG_STATIC_ESSID
&&
priv
->
config
&
CFG_STATIC_CHANNEL
&&
priv
->
config
&
CFG_STATIC_CHANNEL
)
{
!
list_empty
(
&
priv
->
ieee
->
network_free_list
))
{
/* Use oldest network if the free list is empty */
if
(
list_empty
(
&
priv
->
ieee
->
network_free_list
))
{
struct
ieee80211_network
*
oldest
=
NULL
;
struct
ieee80211_network
*
target
;
DECLARE_MAC_BUF
(
mac
);
list_for_each_entry
(
target
,
&
priv
->
ieee
->
network_list
,
list
)
{
if
((
oldest
==
NULL
)
||
(
target
->
last_scanned
<
oldest
->
last_scanned
))
oldest
=
target
;
}
/* If there are no more slots, expire the oldest */
list_del
(
&
oldest
->
list
);
target
=
oldest
;
IPW_DEBUG_ASSOC
(
"Expired '%s' (%s) from "
"network list.
\n
"
,
escape_essid
(
target
->
ssid
,
target
->
ssid_len
),
print_mac
(
mac
,
target
->
bssid
));
list_add_tail
(
&
target
->
list
,
&
priv
->
ieee
->
network_free_list
);
}
element
=
priv
->
ieee
->
network_free_list
.
next
;
element
=
priv
->
ieee
->
network_free_list
.
next
;
network
=
list_entry
(
element
,
struct
ieee80211_network
,
list
);
network
=
list_entry
(
element
,
struct
ieee80211_network
,
list
);
ipw_adhoc_create
(
priv
,
network
);
ipw_adhoc_create
(
priv
,
network
);
...
...
drivers/net/wireless/libertas/debugfs.c
View file @
b4496d44
...
@@ -312,8 +312,8 @@ static ssize_t lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask,
...
@@ -312,8 +312,8 @@ static ssize_t lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask,
if
(
tlv_type
!=
TLV_TYPE_BCNMISS
)
if
(
tlv_type
!=
TLV_TYPE_BCNMISS
)
tlv
->
freq
=
freq
;
tlv
->
freq
=
freq
;
/* The command header, the
event mask, and the
one TLV */
/* The command header, the
action, the event mask, and
one TLV */
events
->
hdr
.
size
=
cpu_to_le16
(
sizeof
(
events
->
hdr
)
+
2
+
sizeof
(
*
tlv
));
events
->
hdr
.
size
=
cpu_to_le16
(
sizeof
(
events
->
hdr
)
+
4
+
sizeof
(
*
tlv
));
ret
=
lbs_cmd_with_response
(
priv
,
CMD_802_11_SUBSCRIBE_EVENT
,
events
);
ret
=
lbs_cmd_with_response
(
priv
,
CMD_802_11_SUBSCRIBE_EVENT
,
events
);
...
...
drivers/net/wireless/p54/p54usb.c
View file @
b4496d44
...
@@ -49,6 +49,7 @@ static struct usb_device_id p54u_table[] __devinitdata = {
...
@@ -49,6 +49,7 @@ static struct usb_device_id p54u_table[] __devinitdata = {
{
USB_DEVICE
(
0x5041
,
0x2235
)},
/* Linksys WUSB54G Portable */
{
USB_DEVICE
(
0x5041
,
0x2235
)},
/* Linksys WUSB54G Portable */
/* Version 2 devices (3887) */
/* Version 2 devices (3887) */
{
USB_DEVICE
(
0x0471
,
0x1230
)},
/* Philips CPWUA054/00 */
{
USB_DEVICE
(
0x050d
,
0x7050
)},
/* Belkin F5D7050 ver 1000 */
{
USB_DEVICE
(
0x050d
,
0x7050
)},
/* Belkin F5D7050 ver 1000 */
{
USB_DEVICE
(
0x0572
,
0x2000
)},
/* Cohiba Proto board */
{
USB_DEVICE
(
0x0572
,
0x2000
)},
/* Cohiba Proto board */
{
USB_DEVICE
(
0x0572
,
0x2002
)},
/* Cohiba Proto board */
{
USB_DEVICE
(
0x0572
,
0x2002
)},
/* Cohiba Proto board */
...
...
drivers/ssb/driver_pcicore.c
View file @
b4496d44
...
@@ -537,12 +537,12 @@ int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc,
...
@@ -537,12 +537,12 @@ int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc,
int
err
=
0
;
int
err
=
0
;
u32
tmp
;
u32
tmp
;
might_sleep
();
if
(
!
pdev
)
if
(
!
pdev
)
goto
out
;
goto
out
;
bus
=
pdev
->
bus
;
bus
=
pdev
->
bus
;
might_sleep_if
(
pdev
->
id
.
coreid
!=
SSB_DEV_PCI
);
/* Enable interrupts for this device. */
/* Enable interrupts for this device. */
if
(
bus
->
host_pci
&&
if
(
bus
->
host_pci
&&
((
pdev
->
id
.
revision
>=
6
)
||
(
pdev
->
id
.
coreid
==
SSB_DEV_PCIE
)))
{
((
pdev
->
id
.
revision
>=
6
)
||
(
pdev
->
id
.
coreid
==
SSB_DEV_PCIE
)))
{
...
...
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