提交 a0aff623 编写于 作者: G Gertjan van Wingerde 提交者: John W. Linville

rt2x00: Fix FIXME comments in rt61pci and rt73usb on Michael MIC.

Both rt61pci and rt73usb check the Michael MIC in hardware and strip the
Michael MIC from received frames. This is perfectly allowed by mac80211 as
long as this is properly reported to mac80211.
Both these drivers reported the Michael MIC handling properly to mac80211, but
still contained a FIXME comment on this, which is not needed to be handled, since
mac80211 doesn't really need the Michael MIC in this case.
Signed-off-by: NGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 10026f77
...@@ -2118,9 +2118,8 @@ static void rt61pci_fill_rxdone(struct queue_entry *entry, ...@@ -2118,9 +2118,8 @@ static void rt61pci_fill_rxdone(struct queue_entry *entry,
rxdesc->flags |= RX_FLAG_IV_STRIPPED; rxdesc->flags |= RX_FLAG_IV_STRIPPED;
/* /*
* FIXME: Legacy driver indicates that the frame does * The hardware has already checked the Michael Mic and has
* contain the Michael Mic. Unfortunately, in rt2x00 * stripped it from the frame. Signal this to mac80211.
* the MIC seems to be missing completely...
*/ */
rxdesc->flags |= RX_FLAG_MMIC_STRIPPED; rxdesc->flags |= RX_FLAG_MMIC_STRIPPED;
......
...@@ -1709,9 +1709,8 @@ static void rt73usb_fill_rxdone(struct queue_entry *entry, ...@@ -1709,9 +1709,8 @@ static void rt73usb_fill_rxdone(struct queue_entry *entry,
rxdesc->flags |= RX_FLAG_IV_STRIPPED; rxdesc->flags |= RX_FLAG_IV_STRIPPED;
/* /*
* FIXME: Legacy driver indicates that the frame does * The hardware has already checked the Michael Mic and has
* contain the Michael Mic. Unfortunately, in rt2x00 * stripped it from the frame. Signal this to mac80211.
* the MIC seems to be missing completely...
*/ */
rxdesc->flags |= RX_FLAG_MMIC_STRIPPED; rxdesc->flags |= RX_FLAG_MMIC_STRIPPED;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册