Re: [PATCH] Fix iwl typo

From: John W. Linville
Date: Fri Dec 11 2009 - 10:00:34 EST


On Fri, Dec 11, 2009 at 12:40:54PM +0100, Jens Axboe wrote:
> Hi,
>
> I came across this one:
>
> drivers/net/wireless/iwlwifi/iwl-tx.c: In function ?iwl_tx_agg_stop?:
> drivers/net/wireless/iwlwifi/iwl-tx.c:1356: warning: passing argument 1
> of ?ieee80211_stop_tx_ba_cb_irqsafe? from incompatible pointer type
> include/net/mac80211.h:2128: note: expected ?struct ieee80211_vif *? but
> argument is of type ?struct ieee80211_hw *?
>
> which just looks like a simple typo, priv->hw should be priv->vif.
>
> Signed-off-by: Jens Axboe <jens.axboe@xxxxxxxxxx>

A patch like this is already in net-2.6.

Thanks,

John
--
John W. Linville Someday the world will need a hero, and you
linville@xxxxxxxxxxxxx might be all we have. Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/