The drivers rtl8192ce and rtl8192cu have some global variables that are incorrectly mingled whenever both kinds of devices are present on a sytem. Drivers rtl8192de and rtl8192se have the same problem if there are more than a single device present. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- John, I doubt that many systems ever have more than one of these devices present, thus these patches can wait for 3.5. The only real exception is RTL8192DE, which registers as two distinct MACs - one at 2.4 GHz, and the other at 5 GHz. These devices are quite rare, and it is unlikely that both units will be operating simultaneously unless they form the basis of a dual-band AP. Larry --- V2 - fixed a problem with referencing the private-data struct. Larry Finger (6): rtlwifi: Move dig_t and ps_t structs rtlwifi: Add dm structs to private structure rtlwifi: rtl8192c: Convert driver to use private dm structs rtlwifi: rtl8192c: Convert driver to use private ps_t struct rtlwifi: rtl8192de: Convert driver to use private dm structs rtlwifi: rtl8192se: Convert driver to use private dm struct drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c | 290 +++++++++++--------- drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h | 35 --- drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c | 1 + drivers/net/wireless/rtlwifi/rtl8192ce/dm.h | 35 --- drivers/net/wireless/rtlwifi/rtl8192de/dm.c | 185 +++++++------ drivers/net/wireless/rtlwifi/rtl8192de/dm.h | 51 ---- drivers/net/wireless/rtlwifi/rtl8192de/phy.c | 7 +- drivers/net/wireless/rtlwifi/rtl8192se/dm.c | 156 ++++++----- drivers/net/wireless/rtlwifi/rtl8192se/dm.h | 44 --- drivers/net/wireless/rtlwifi/rtl8192se/phy.c | 7 +- drivers/net/wireless/rtlwifi/wifi.h | 63 +++++ 11 files changed, 401 insertions(+), 473 deletions(-) -- 1.7.10.130.g36e6c -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html