Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206068
b: refs/heads/master
c: 9015e49
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Fritz authored and Greg Kroah-Hartman committed Aug 5, 2010
1 parent a293626 commit dbbe085
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: e9563355ac1175dd3440dc2ea5c28b27ed51a283
refs/heads/master: 9015e4996273c86574d6fd26df8a203941d3cc24
8 changes: 4 additions & 4 deletions trunk/drivers/staging/wlan-ng/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -621,19 +621,19 @@ int prism2_leave_ibss(struct wiphy *wiphy, struct net_device *dev)
}


int prism2_set_tx_power(struct wiphy *wiphy, enum tx_power_setting type,
int dbm)
int prism2_set_tx_power(struct wiphy *wiphy, enum nl80211_tx_power_setting type,
int mbm)
{
struct prism2_wiphy_private *priv = wiphy_priv(wiphy);
wlandevice_t *wlandev = priv->wlandev;
u32 data;
int result;
int err = 0;

if (type == TX_POWER_AUTOMATIC)
if (type == NL80211_TX_POWER_AUTOMATIC)
data = 30;
else
data = dbm;
data = MBM_TO_DBM(mbm);

result = prism2_domibset_uint32(wlandev,
DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel,
Expand Down

0 comments on commit dbbe085

Please sign in to comment.