Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265371
b: refs/heads/master
c: 26aaa4a
h: refs/heads/master
i:
  265369: 8330745
  265367: 58c6de9
v: v3
  • Loading branch information
Bing Zhao authored and John W. Linville committed Aug 8, 2011
1 parent 3a58f2c commit 4ba564c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e92f2acac918d36ef4aa591f55ba0589edf634d
refs/heads/master: 26aaa4a0e923326560286e567b9fbf8429d5ef2b
1 change: 0 additions & 1 deletion trunk/drivers/net/wireless/mwifiex/ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ struct mwifiex_ver_ext {
struct mwifiex_bss_info {
u32 bss_mode;
struct mwifiex_802_11_ssid ssid;
u32 scan_table_idx;
u32 bss_chan;
u32 region_code;
u32 media_connected;
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/net/wireless/mwifiex/sta_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ int mwifiex_get_bss_info(struct mwifiex_private *priv,
{
struct mwifiex_adapter *adapter = priv->adapter;
struct mwifiex_bssdescriptor *bss_desc;
s32 tbl_idx;

if (!info)
return -1;
Expand All @@ -394,17 +393,6 @@ int mwifiex_get_bss_info(struct mwifiex_private *priv,

info->region_code = adapter->region_code;

/* Scan table index if connected */
info->scan_table_idx = 0;
if (priv->media_connected) {
tbl_idx =
mwifiex_find_ssid_in_list(priv, &bss_desc->ssid,
bss_desc->mac_address,
priv->bss_mode);
if (tbl_idx >= 0)
info->scan_table_idx = tbl_idx;
}

info->media_connected = priv->media_connected;

info->max_power_level = priv->max_tx_power_level;
Expand Down

0 comments on commit 4ba564c

Please sign in to comment.