Skip to content

Commit

Permalink
b43: Fix HostFlags data types
Browse files Browse the repository at this point in the history
The HostFlags are a bitmask of 48bit. So we must use an u64 datatype
to hold all bits.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Michael Buesch authored and John W. Linville committed Apr 24, 2008
1 parent 1855ba7 commit a259d6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
struct ssb_sprom *sprom = &dev->dev->bus->sprom;
u32 hf;
u64 hf;

if (!modparam_btcoex)
return;
Expand Down Expand Up @@ -3860,7 +3860,8 @@ static int b43_wireless_core_init(struct b43_wldev *dev)
struct ssb_sprom *sprom = &bus->sprom;
struct b43_phy *phy = &dev->phy;
int err;
u32 hf, tmp;
u64 hf;
u32 tmp;

B43_WARN_ON(b43_status(dev) != B43_STAT_UNINIT);

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/b43/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2043,7 +2043,7 @@ int b43_phy_init(struct b43_wldev *dev)
void b43_set_rx_antenna(struct b43_wldev *dev, int antenna)
{
struct b43_phy *phy = &dev->phy;
u32 hf;
u64 hf;
u16 tmp;
int autodiv = 0;

Expand Down

0 comments on commit a259d6a

Please sign in to comment.