diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-03-25 19:33:41 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-27 16:03:18 -0400 |
commit | 69dc5d9da5c499c23db7b80217023403da103816 (patch) | |
tree | b5a748cfd64aa8f0c1dd2c49bdc46d2884ea6578 /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | 0472f887e0689fff2dce82c01d40698432965b5a (diff) |
iwlwifi: iwl_priv - clean up in types of members
This patch fix types of is_open and iw_mode members
of iwl_priv sturct
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 9e49e8ce334..e487432ef56 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -1793,6 +1793,8 @@ int iwl4965_is_network_packet(struct iwl_priv *priv, struct ieee80211_hdr *heade | |||
1793 | return !compare_ether_addr(header->addr2, priv->bssid); | 1793 | return !compare_ether_addr(header->addr2, priv->bssid); |
1794 | /* packets to our adapter go through */ | 1794 | /* packets to our adapter go through */ |
1795 | return !compare_ether_addr(header->addr1, priv->mac_addr); | 1795 | return !compare_ether_addr(header->addr1, priv->mac_addr); |
1796 | default: | ||
1797 | break; | ||
1796 | } | 1798 | } |
1797 | 1799 | ||
1798 | return 1; | 1800 | return 1; |
@@ -2054,6 +2056,9 @@ static void iwl4965_connection_init_rx_config(struct iwl_priv *priv) | |||
2054 | priv->staging_rxon.filter_flags = RXON_FILTER_PROMISC_MSK | | 2056 | priv->staging_rxon.filter_flags = RXON_FILTER_PROMISC_MSK | |
2055 | RXON_FILTER_CTL2HOST_MSK | RXON_FILTER_ACCEPT_GRP_MSK; | 2057 | RXON_FILTER_CTL2HOST_MSK | RXON_FILTER_ACCEPT_GRP_MSK; |
2056 | break; | 2058 | break; |
2059 | default: | ||
2060 | IWL_ERROR("Unsupported interface type %d\n", priv->iw_mode); | ||
2061 | break; | ||
2057 | } | 2062 | } |
2058 | 2063 | ||
2059 | #if 0 | 2064 | #if 0 |