Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249010
b: refs/heads/master
c: 0c804c5
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent ceac856 commit 13479b8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 711908df76bedee2df653be057465168ed626742
refs/heads/master: 0c804c5a573867b0a0eeed957508601fb0f29a7a
3 changes: 0 additions & 3 deletions trunk/drivers/staging/ath6kl/os/linux/ar6000_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -2017,9 +2017,6 @@ ar6000_destroy(struct net_device *dev, unsigned int unregister)
if (ar->arWlanPowerState != WLAN_POWER_STATE_CUT_PWR) {
/* only stop endpoint if we are not stop it in suspend_ev */
ar6000_stop_endpoint(dev, false, true);
} else {
/* clear up the platform power state before rmmod */
plat_setup_power(1,0);
}

ar->arWlanState = WLAN_DISABLED;
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/staging/ath6kl/os/linux/ar6000_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,13 +304,11 @@ int ar6000_power_change_ev(void *context, u32 config)

static int ar6000_pm_probe(struct platform_device *pdev)
{
plat_setup_power(1,1);
return 0;
}

static int ar6000_pm_remove(struct platform_device *pdev)
{
plat_setup_power(0,1);
return 0;
}

Expand Down Expand Up @@ -352,8 +350,6 @@ ar6000_setup_cut_power_state(struct ar6_softc *ar, AR6000_WLAN_STATE state)
break;
}

plat_setup_power(1,0);

/* Change the state to ON */
ar->arWlanPowerState = WLAN_POWER_STATE_ON;

Expand Down Expand Up @@ -385,8 +381,6 @@ ar6000_setup_cut_power_state(struct ar6_softc *ar, AR6000_WLAN_STATE state)
&config,
sizeof(HIF_DEVICE_POWER_CHANGE_TYPE));

plat_setup_power(0,0);

ar->arWlanPowerState = WLAN_POWER_STATE_CUT_PWR;
}
} while (0);
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/staging/ath6kl/os/linux/include/wlan_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,4 @@
*/
#define WLAN_CONFIG_DISABLE_TX_BURSTING 0

/*
* Platform specific function to power ON/OFF AR6000
* and enable/disable SDIO card detection
*/
#define plat_setup_power(on, detect)

#endif /* _HOST_WLAN_CONFIG_H_ */

0 comments on commit 13479b8

Please sign in to comment.