[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <69e28c910807261526g17d1aeb1m7427b257cf61fc5e@mail.gmail.com>
Date: Sun, 27 Jul 2008 00:26:47 +0200
From: "Stefanik Gábor" <netrolller.3d@...il.com>
To: "Zhu Yi" <yi.zhu@...el.com>,
"John W. Linville" <linville@...driver.com>
Cc: linux-wireless <linux-wireless@...r.kernel.org>,
linux-kernel@...r.kernel.org,
ipw3945-devel <ipw3945-devel@...ts.sourceforge.net>,
"Tomas Winkler" <tomasw@...il.com>,
"Tomas Winkler" <tomas.winkler@...el.com>,
"Johannes Berg" <johannes@...solutions.net>,
"Marco Schuster" <marco@...ddisk.is-a-geek.org>
Subject: Re: [PATCH] iwlwifi: Enable packet injection for iwl4965
On Fri, Jul 18, 2008 at 9:05 PM, Stefanik Gábor <netrolller.3d@...il.com> wrote:
> @@ -822,7 +819,10 @@ int iwl_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
> hdr_len = ieee80211_get_hdrlen(le16_to_cpu(fc));
>
> /* Find (or create) index into station table for destination station */
> - sta_id = iwl_get_sta_id(priv, hdr);
> + if (info->flags & IEEE80211_TX_CTL_INJECTED)
> + sta_id = priv->hw_params.bcast_sta_id;
> + else
> + sta_id = iwl_get_sta_id(priv, hdr);
> if (sta_id == IWL_INVALID_STATION) {
> DECLARE_MAC_BUF(mac);
Oops... this hunk (last hunk in iwl-tx.c) is unneeded, just ignore it
(it's a leftover from another patch I have in my tree).
--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists