Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122337
b: refs/heads/master
c: bf8c1ac
h: refs/heads/master
i:
  122335: f6e6583
v: v3
  • Loading branch information
Jouni Malinen authored and John W. Linville committed Nov 26, 2008
1 parent 1114d9e commit 1e9f4ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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: 39d1ffee57c7ce02c90ec8e9272df8aa8ddf600f
refs/heads/master: bf8c1ac6d81ba8c0e4dc2215f84f5e2a3c8227e8
3 changes: 2 additions & 1 deletion trunk/include/linux/nl80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@ enum nl80211_band_attr {
* on this channel in current regulatory domain.
* @NL80211_FREQUENCY_ATTR_RADAR: Radar detection is mandatory
* on this channel in current regulatory domain.
* @NL80211_FREQUENCY_ATTR_MAX_TX_POWER: Maximum transmission power in dBm.
* @NL80211_FREQUENCY_ATTR_MAX_TX_POWER: Maximum transmission power in mBm
* (100 * dBm).
*/
enum nl80211_frequency_attr {
__NL80211_FREQUENCY_ATTR_INVALID,
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ static int nl80211_send_wiphy(struct sk_buff *msg, u32 pid, u32 seq, int flags,
if (chan->flags & IEEE80211_CHAN_RADAR)
NLA_PUT_FLAG(msg, NL80211_FREQUENCY_ATTR_RADAR);

NLA_PUT_U8(msg, NL80211_FREQUENCY_ATTR_MAX_TX_POWER,
chan->max_power);
NLA_PUT_U32(msg, NL80211_FREQUENCY_ATTR_MAX_TX_POWER,
DBM_TO_MBM(chan->max_power));

nla_nest_end(msg, nl_freq);
}
Expand Down

0 comments on commit 1e9f4ca

Please sign in to comment.