X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fwireless%2Frtl8187.h;h=5a9515c99960a164a8fb9d8552d4f30cad984717;hb=fb55d887c5bd9054ec069534e1ef9eb8d9a983c6;hp=1b0d750f662383176a31a1e674b539ed05441584;hpb=0ccd58fc03f40529f66190b1a41e92a732d2bda8;p=linux-2.6 diff --git a/drivers/net/wireless/rtl8187.h b/drivers/net/wireless/rtl8187.h index 1b0d750f66..5a9515c999 100644 --- a/drivers/net/wireless/rtl8187.h +++ b/drivers/net/wireless/rtl8187.h @@ -94,6 +94,10 @@ struct rtl8187_priv { const struct rtl818x_rf_ops *rf; struct ieee80211_vif *vif; int mode; + /* The mutex protects the TX loopback state. + * Any attempt to set channels concurrently locks the device. + */ + struct mutex conf_mutex; /* rtl8187 specific */ struct ieee80211_channel channels[14];