diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-09-22 15:26:48 +0400 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-11-06 14:23:41 +0300 |
commit | a0b4a738e0e03f5e0d6ca366560f9a48e5adf83a (patch) | |
tree | 8063be3ae88a2bef6377cdf913b2432d9805c48b /drivers/ieee802154 | |
parent | 375bb0e04b618d0c425b0ea492d16cf71eb94905 (diff) | |
download | linux-a0b4a738e0e03f5e0d6ca366560f9a48e5adf83a.tar.gz linux-a0b4a738e0e03f5e0d6ca366560f9a48e5adf83a.tar.bz2 linux-a0b4a738e0e03f5e0d6ca366560f9a48e5adf83a.zip |
wpan-phy: allow specifying a per-page channel mask
IEEE 802.15.4-2006 defines channel pages that hold channels (max 32 pages,
27 channels per page). Allow the driver to specify supported channels
on pages, other than the first one.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'drivers/ieee802154')
-rw-r--r-- | drivers/ieee802154/fakehard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee802154/fakehard.c b/drivers/ieee802154/fakehard.c index 96a2959ce877..f6f2afefaa17 100644 --- a/drivers/ieee802154/fakehard.c +++ b/drivers/ieee802154/fakehard.c @@ -356,7 +356,7 @@ static int __devinit ieee802154fake_probe(struct platform_device *pdev) dev->addr_len); memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); - phy->channels_supported = (1 << 27) - 1; + phy->channels_supported[0] = (1 << 27) - 1; phy->transmit_power = 0xbf; dev->netdev_ops = &fake_ops; |