summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-05-26 21:15:00 -0700
committerDavid S. Miller <davem@davemloft.net>2009-05-26 21:15:00 -0700
commit079e24ed80c8a91dd2884b88820bac6f340aaa83 (patch)
tree5b57e50254023c8f0bf4442bd42e3c01c969227b /net/wireless
parent0a372eb91f9d507701a901c2f62ed31ca67fd66c (diff)
downloadop-kernel-dev-079e24ed80c8a91dd2884b88820bac6f340aaa83.zip
op-kernel-dev-079e24ed80c8a91dd2884b88820bac6f340aaa83.tar.gz
nl80211: Eliminate reference to BUS_ID_SIZE.
It's going away. Just leave the constant "20" here so that behavior doesn't change. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 56d729c..4b4d3c8 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -57,7 +57,7 @@ static int get_drv_dev_by_info_ifindex(struct nlattr **attrs,
static struct nla_policy nl80211_policy[NL80211_ATTR_MAX+1] __read_mostly = {
[NL80211_ATTR_WIPHY] = { .type = NLA_U32 },
[NL80211_ATTR_WIPHY_NAME] = { .type = NLA_NUL_STRING,
- .len = BUS_ID_SIZE-1 },
+ .len = 20-1 },
[NL80211_ATTR_WIPHY_TXQ_PARAMS] = { .type = NLA_NESTED },
[NL80211_ATTR_WIPHY_FREQ] = { .type = NLA_U32 },
[NL80211_ATTR_WIPHY_CHANNEL_TYPE] = { .type = NLA_U32 },
OpenPOWER on IntegriCloud