提交 56afef56 编写于 作者: S Solomon Peachy 提交者: Greg Kroah-Hartman

Staging: wlan-ng: Purge all MIBs not used internally.

The next step is to bypass the MIB calling mechanism altogether and just
invoke the hardware directly where needed, but at least now the list has
been paired down considerably.
Signed-off-by: NSolomon Peachy <pizza@shaftnet.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 e02c69b8
......@@ -206,7 +206,6 @@ typedef struct wlandevice
p80211pstr32_t ssid;
u32 macmode;
int linkstatus;
int shortpreamble; /* C bool */
/* WEP State */
u8 wep_keys[NUM_WEPKEYS][MAX_KEYLEN];
......
......@@ -228,33 +228,6 @@ static int p80211req_mibset_mibget(wlandevice_t *wlandev,
DBFENTER;
switch (mibitem->did) {
case DIDmib_dot11smt_p80211Table_p80211_ifstate: {
u32 *data = (u32 *) mibitem->data;
if (isget)
switch (wlandev->msdstate) {
case WLAN_MSD_HWPRESENT:
*data = P80211ENUM_ifstate_disable;
break;
case WLAN_MSD_FWLOAD:
*data = P80211ENUM_ifstate_fwload;
break;
case WLAN_MSD_RUNNING:
*data = P80211ENUM_ifstate_enable;
break;
default:
*data = P80211ENUM_ifstate_enable;
}
break;
}
case DIDmib_dot11phy_dot11PhyOperationTable_dot11ShortPreambleEnabled: {
u32 *data = (u32 *) mibitem->data;
if (isget)
*data = wlandev->shortpreamble;
else
wlandev->shortpreamble = *data;
break;
}
case DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey0: {
if (!isget)
wep_change_key(wlandev, 0, key, pstr->len);
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册