Skip to content

Commit

Permalink
Clean up some mistakes in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaxxz committed Feb 27, 2015
1 parent b74cfbf commit ee45cda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions decode/ieee802.11/radio_beacon_frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ RadioBeaconFrame.prototype.decode = function decode(raw_packet, offset) {
//2 bytes of misc compatibility info
offset +=2;

/*
* knowing where the end of the packet is
* would be really useful here. However,
* since we don't have it at the moment
* let's just try to read the ssid tag.
*
* When we get the packet length,
* turn this into a loop and read all
* the tags.
*/
this.tags = radioUtils.parseTags(raw_packet, offset);
return this;
};
Expand Down
2 changes: 1 addition & 1 deletion spec/decode/ieee802.11/radio_utils.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe("radioUtils", function(){
beforeEach(function(){
threeTags = new Buffer("010130"+ //id=0, length=1, value=0x30
"0203040506"+ //id=2, length=3, value=0x040506
"0300"+ //id=3, length=0, value=0x00
"0300"+ //id=3, length=0
"FFFFFFFF", "hex"); //new to provide 'checksum'
});

Expand Down

0 comments on commit ee45cda

Please sign in to comment.