diff options
author | Daniel Drake <dsd@laptop.org> | 2012-07-16 02:44:58 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-17 23:11:36 +0400 |
commit | 20d2ebe512b9ad0f8fdd867a02d7a309344e8a6a (patch) | |
tree | 76e653b348d665145c37bd5e6943396b28f6aa25 /drivers/net/wireless/libertas/dev.h | |
parent | 08a4a1ab0725d89ca1df80f2ebe8443da82cd34f (diff) | |
download | linux-20d2ebe512b9ad0f8fdd867a02d7a309344e8a6a.tar.xz |
libertas: Update 11d info only when interface is active
reg_notifier can be called before the interface is up.
Handle this correctly by storing the requested country code, then
apply the relevant configuration when the interface is brought up.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index 60996ce89f77..6bd1608992b0 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h @@ -49,6 +49,7 @@ struct lbs_private { bool wiphy_registered; struct cfg80211_scan_request *scan_req; u8 assoc_bss[ETH_ALEN]; + u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; u8 disassoc_reason; /* Mesh */ |