Skip to content

Commit

Permalink
Staging: rtl8187se: Fix comment-out-typo
Browse files Browse the repository at this point in the history
This fixes a comment-out-typo that resulted in a dangling if-branch.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Michael Buesch authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 9f07453 commit b3184e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8187se/r8180_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2246,7 +2246,7 @@ short rtl8180_tx(struct net_device *dev, u8* txbuf, int len, int priority,
// Use short preamble or not
if (priv->ieee80211->current_network.capability&WLAN_CAPABILITY_SHORT_PREAMBLE)
if (priv->plcp_preamble_mode==1 && rate!=0) // short mode now, not long!
// *tail |= (1<<16); // enable short preamble mode.
;// *tail |= (1<<16); // enable short preamble mode.

if(bCTSEnable) {
*tail |= (1<<18);
Expand Down

0 comments on commit b3184e1

Please sign in to comment.