one should never use sizeof(struct llc) since 802.2 LLC headers
authordamien <damien@openbsd.org>
Wed, 13 Aug 2008 17:44:45 +0000 (17:44 +0000)
committerdamien <damien@openbsd.org>
Wed, 13 Aug 2008 17:44:45 +0000 (17:44 +0000)
commit0bc9abfb6682f3b0e046493593c05e754ebb4299
treec6b1204038e671017087695c94248e2619f6b5e1
parent5de2a19562fcc87e8a1b15719cc9f4a9fd3889df
one should never use sizeof(struct llc) since 802.2 LLC headers
have a variable length.  use LLC_SNAPFRAMELEN instead (which happen
to be equal to sizeof(struct llc)) as we only deal with LLC+SNAP
headers.

some indentation tweaks while i'm here.
no binary change.
sys/net80211/ieee80211_input.c