From 5d3ce91f759307c8288a31ab14aabf5a2d93f292 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sun, 15 Jun 2014 13:22:39 +0200
Subject: [PATCH] gluon-status-page: fix neighbor view with current iw/mac80211

The whole status page should be rewritten ASAP, but this fix will at least
make it work again for now...
---
 .../files/lib/gluon/status-page/www/cgi-bin/status        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/gluon-status-page/files/lib/gluon/status-page/www/cgi-bin/status b/package/gluon-status-page/files/lib/gluon/status-page/www/cgi-bin/status
index 9cec1f228..636a7aa7b 100755
--- a/package/gluon-status-page/files/lib/gluon/status-page/www/cgi-bin/status
+++ b/package/gluon-status-page/files/lib/gluon/status-page/www/cgi-bin/status
@@ -47,15 +47,15 @@ echo "</pre>"
 echo "<h2>Neighbours</h2>"
 
 
-iw dev | grep IBSS -B 4 | grep Interface | cut -d' ' -f2 | while read if
+iw dev | grep IBSS -B 5 | grep Interface | cut -d' ' -f2 | while read if
 do
   echo "<h3>$if</h3>"
   echo "<pre>"
-  
+
   iw dev $if link | escape_html
 
-  echo 
-  
+  echo
+
   iw dev $if station dump | escape_html | linknodes
 
   echo "</pre>"
-- 
GitLab