Commit bb1eeff1 authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville

b43: Fix bandswitch

This fixes bandswitching for the new mac80211 band API.
Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b9e0b449
...@@ -458,14 +458,11 @@ struct b43_iv { ...@@ -458,14 +458,11 @@ struct b43_iv {
} __attribute__((__packed__)); } __attribute__((__packed__));
#define B43_PHYMODE(phytype) (1 << (phytype))
#define B43_PHYMODE_A B43_PHYMODE(B43_PHYTYPE_A)
#define B43_PHYMODE_B B43_PHYMODE(B43_PHYTYPE_B)
#define B43_PHYMODE_G B43_PHYMODE(B43_PHYTYPE_G)
struct b43_phy { struct b43_phy {
/* Possible PHYMODEs on this PHY */ /* Band support flags. */
u8 possible_phymodes; bool supports_2ghz;
bool supports_5ghz;
/* GMODE bit enabled? */ /* GMODE bit enabled? */
bool gmode; bool gmode;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment