diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-10-11 05:11:02 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-11 23:04:24 +0400 |
commit | e5c407f970ea2977600eb54cf4cc8a67a44fefeb (patch) | |
tree | 47c2b4de88a3633e29ee87a2a0eb50874b35ee1c /drivers/net/wireless/b43/phy_common.h | |
parent | a656b6a9665dce09a8f273091f1b4aa3d5cec721 (diff) | |
download | linux-e5c407f970ea2977600eb54cf4cc8a67a44fefeb.tar.xz |
b43: N-PHY: store info about current channel's type
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_common.h')
-rw-r--r-- | drivers/net/wireless/b43/phy_common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_common.h b/drivers/net/wireless/b43/phy_common.h index bd480b481bfc..6dcd0334ed02 100644 --- a/drivers/net/wireless/b43/phy_common.h +++ b/drivers/net/wireless/b43/phy_common.h @@ -2,6 +2,7 @@ #define LINUX_B43_PHY_COMMON_H_ #include <linux/types.h> +#include <linux/nl80211.h> struct b43_wldev; @@ -250,8 +251,9 @@ struct b43_phy { * check is needed. */ unsigned long next_txpwr_check_time; - /* current channel */ + /* Current channel */ unsigned int channel; + enum nl80211_channel_type channel_type; /* PHY TX errors counter. */ atomic_t txerr_cnt; |