Search Linux Wireless

Re: CONFIG_IWL4965_HT=n in linux-next

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 9 Jun 2008 12:20:14 +0300 "Tomas Winkler" <tomasw@xxxxxxxxx> wrote:

> On Mon, Jun 9, 2008 at 11:56 AM, Andrew Morton
> <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> > drivers/net/wireless/iwlwifi/iwl-4965-rs.c: In function 'rs_move_siso_to_other':
> > drivers/net/wireless/iwlwifi/iwl-4965-rs.c:1439: error: 'struct iwl_priv' has no member named 'current_ht_config'
> > drivers/net/wireless/iwlwifi/iwl-4965-rs.c:1443: error: 'struct iwl_priv' has no member named 'current_ht_config'
> > drivers/net/wireless/iwlwifi/iwl-4965-rs.c: In function 'rs_move_mimo_to_other':
> > drivers/net/wireless/iwlwifi/iwl-4965-rs.c:1530: error: 'struct iwl_priv' has no member named 'current_ht_config'
> > drivers/net/wireless/iwlwifi/iwl-4965-rs.c:1534: error: 'struct iwl_priv' has no member named 'current_ht_config'
> 
> It's a known issue.

Sob.  Well please fix it urgently!  Poeple are trying to get work done
on top of linux-next.

> we are about to remove this conditional. Will
> happen till EOW.


I hacked around it:


From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Cc: "John W. Linville" <linville@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/net/wireless/iwlwifi/iwl-4965-rs.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff -puN drivers/net/wireless/iwlwifi/iwl-4965-rs.c~drivers-net-wireless-iwlwifi-iwl-4965-rsc-config_iwl4965_ht=n-hack drivers/net/wireless/iwlwifi/iwl-4965-rs.c
--- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c~drivers-net-wireless-iwlwifi-iwl-4965-rsc-config_iwl4965_ht=n-hack
+++ a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
@@ -1435,6 +1435,7 @@ static int rs_move_siso_to_other(struct 
 			}
 			break;
 		case IWL_SISO_SWITCH_GI:
+#ifdef CONFIG_IWL4965_HT
 			if (!tbl->is_fat &&
 				!(priv->current_ht_config.sgf &
 						HT_SHORT_GI_20MHZ))
@@ -1443,7 +1444,7 @@ static int rs_move_siso_to_other(struct 
 				!(priv->current_ht_config.sgf &
 						HT_SHORT_GI_40MHZ))
 				break;
-
+#endif
 			IWL_DEBUG_RATE("LQ: SISO toggle SGI/NGI\n");
 
 			memcpy(search_tbl, tbl, sz);
@@ -1526,6 +1527,7 @@ static int rs_move_mimo_to_other(struct 
 			break;
 
 		case IWL_MIMO_SWITCH_GI:
+#ifdef CONFIG_IWL4965_HT
 			if (!tbl->is_fat &&
 				!(priv->current_ht_config.sgf &
 						HT_SHORT_GI_20MHZ))
@@ -1533,6 +1535,7 @@ static int rs_move_mimo_to_other(struct 
 			if (tbl->is_fat &&
 				!(priv->current_ht_config.sgf &
 						HT_SHORT_GI_40MHZ))
+#endif
 				break;
 
 			IWL_DEBUG_RATE("LQ: MIMO toggle SGI/NGI\n");
_

--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux