提交 a259d6a4 编写于 作者: M Michael Buesch 提交者: John W. Linville

b43: Fix HostFlags data types

The HostFlags are a bitmask of 48bit. So we must use an u64 datatype
to hold all bits.
Signed-off-by: NMichael Buesch <mb@bu3sch.de>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 1855ba78
...@@ -3710,7 +3710,7 @@ static void setup_struct_wldev_for_init(struct b43_wldev *dev) ...@@ -3710,7 +3710,7 @@ static void setup_struct_wldev_for_init(struct b43_wldev *dev)
static void b43_bluetooth_coext_enable(struct b43_wldev *dev) static void b43_bluetooth_coext_enable(struct b43_wldev *dev)
{ {
struct ssb_sprom *sprom = &dev->dev->bus->sprom; struct ssb_sprom *sprom = &dev->dev->bus->sprom;
u32 hf; u64 hf;
if (!modparam_btcoex) if (!modparam_btcoex)
return; return;
...@@ -3860,7 +3860,8 @@ static int b43_wireless_core_init(struct b43_wldev *dev) ...@@ -3860,7 +3860,8 @@ static int b43_wireless_core_init(struct b43_wldev *dev)
struct ssb_sprom *sprom = &bus->sprom; struct ssb_sprom *sprom = &bus->sprom;
struct b43_phy *phy = &dev->phy; struct b43_phy *phy = &dev->phy;
int err; int err;
u32 hf, tmp; u64 hf;
u32 tmp;
B43_WARN_ON(b43_status(dev) != B43_STAT_UNINIT); B43_WARN_ON(b43_status(dev) != B43_STAT_UNINIT);
......
...@@ -2043,7 +2043,7 @@ int b43_phy_init(struct b43_wldev *dev) ...@@ -2043,7 +2043,7 @@ int b43_phy_init(struct b43_wldev *dev)
void b43_set_rx_antenna(struct b43_wldev *dev, int antenna) void b43_set_rx_antenna(struct b43_wldev *dev, int antenna)
{ {
struct b43_phy *phy = &dev->phy; struct b43_phy *phy = &dev->phy;
u32 hf; u64 hf;
u16 tmp; u16 tmp;
int autodiv = 0; int autodiv = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册