Fix BTS features length check

While fixing potentially incorrect memory access, the check for maximum
number of supported BTS features was incorrectly adjusted instead of
feature vectore length check next to it. Fix this by adjusting checks
properly and adding comments to avoid future confusion.

The error was introduced in a60bb3dd28ce9e3720f8ee1b262893f3e233e2e6.

Change-Id: I06d2498d730624d5da535f6add6fa98d004714ae
1 file changed
tree: 69c5c8cfb1d64eb10f9112bc1e617ad99f10d3ec
  1. contrib/
  2. debian/
  3. openbsc/
  4. .gitignore
  5. .gitreview
  6. .mailmap